// Copyright 2016 Documize Inc. . All rights reserved. // // This software (Documize Community Edition) is licensed under // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html // // You can operate outside the AGPL restrictions by purchasing // Documize Enterprise Edition and obtaining a commercial license // by contacting . // // https://documize.com package trello const tradTemplate = `
{{if ne .Detail.Board.ID ""}}

There are {{ .Detail.CardCount }} cards across {{ .Detail.ListCount }} lists on {{.Detail.Board.Name}} Board

Non-printable

{{range $data := .Detail.Data}} {{range $card := $data.Cards}} {{end}} {{end}}
{{ $data.List.Name }} · {{len $data.Cards}} cards
{{ $card.Name }}
{{range $label := $card.Labels}} {{$label.Name}} {{end}}
{{end}}
`