diff --git a/core/section/trello/archive_template.go b/core/section/trello/archive_template.go index aa63747f..dae8b02e 100644 --- a/core/section/trello/archive_template.go +++ b/core/section/trello/archive_template.go @@ -13,7 +13,7 @@ package trello const archiveTemplate = `

Deleted and Archived Cards

-Since ###1st Aug 2016###
+

Changes since {{.Since}}.

{{range $b := .Boards}}

For board diff --git a/core/section/trello/boards_template.go b/core/section/trello/boards_template.go index bd13fee3..58ac7067 100644 --- a/core/section/trello/boards_template.go +++ b/core/section/trello/boards_template.go @@ -14,24 +14,22 @@ package trello const boardsTemplate = `

All Boards

-Changes since ###1 Aug 2016###. +

Changes since {{.Since}}.

-

{{len .Boards}} Boards, ###30 Lists, {{.CardTotal}} Cards, {{len .MemberBoardAssign}} Members, #10 Archived

+

{{len .Boards}} Boards, {{.ListTotal}} Lists, {{.CardTotal}} Cards, {{len .MemberBoardAssign}} Members

{{range $b := .Boards}}
-

There are {{ len $b.Actions }} actions for board - - {{$b.Board.Name}} - -

+ + {{$b.Board.Name}} + +

There are {{ len $b.Actions }} actions for board

- {{range $idx, $act := $b.ActionSummary}} - {{$act}} {{$idx}}, + {{range $act, $tot := $b.ActionSummary}} + {{$act}} ({{$tot}}), {{end}} {{if gt (len $b.Archived) 0}} - archiveCard - {{len $b.Archived}}. + archive card ({{len $b.Archived}}).
{{end}}