diff --git a/core/section/trello/boards_template.go b/core/section/trello/boards_template.go index 082e4294..748191aa 100644 --- a/core/section/trello/boards_template.go +++ b/core/section/trello/boards_template.go @@ -15,26 +15,8 @@ const boardsTemplate = `
Changes since {{.Since}}.
+There are {{len .Boards}} boards, {{.ListTotal}} since lists, {{.CardTotal}} cards and {{len .MemberBoardAssign}} members {{.Since}}.
- {{len .Boards}}boards - | -- {{.ListTotal}}lists - | -- {{.CardTotal}}cards - | -- {{len .MemberBoardAssign}}members - | -
- There
- {{if eq 1 (len $b.Actions)}} is {{else}} are {{end}}
- {{ len $b.Actions }}
- {{if eq 1 (len $b.Actions)}}action {{else}} actions {{end}}
- for this board.
+
+ {{ len $b.Actions }}{{if eq 1 (len $b.Actions)}}action {{else}} actions {{end}}
|
- {{range $idx, $brd := $l.Boards}}{{if gt $idx 0}}, {{end}}{{$brd.OrgName}}::{{$brd.Name}}{{end}}. + {{range $idx, $brd := $l.Boards}}{{if gt $idx 0}}, {{end}}{{$brd.OrgName}}/{{$brd.Name}}{{end}} | {{end}} diff --git a/core/section/trello/members_template.go b/core/section/trello/members_template.go index a776d42d..a209c39b 100644 --- a/core/section/trello/members_template.go +++ b/core/section/trello/members_template.go @@ -14,7 +14,7 @@ package trello const membersTemplate = `
{{$m.MemberName}}
|
diff --git a/core/section/trello/trad_template.go b/core/section/trello/trad_template.go
index 871314be..2287bde4 100644
--- a/core/section/trello/trad_template.go
+++ b/core/section/trello/trad_template.go
@@ -14,7 +14,7 @@ package trello
const tradTemplate = `