diff --git a/app/app/styles/section/trello.scss b/app/app/styles/section/trello.scss index 7f57783c..893a3ddf 100644 --- a/app/app/styles/section/trello.scss +++ b/app/app/styles/section/trello.scss @@ -104,6 +104,15 @@ display: inline-block; border-radius: 4px; margin-right: 20px; + + span { + display: table; + font-size: 14px; + line-height: 10px; + opacity: 0.5; + padding-bottom: 10px; + margin-bottom: 8px; + } } .board-summary { diff --git a/core/section/trello/boards_template.go b/core/section/trello/boards_template.go index 748191aa..2ce317d7 100644 --- a/core/section/trello/boards_template.go +++ b/core/section/trello/boards_template.go @@ -23,21 +23,24 @@ const boardsTemplate = ` - {{$b.Board.Name}} +
+ {{$b.Board.Name}} + {{$b.Board.OrgName}} +
- {{ len $b.Actions }}{{if eq 1 (len $b.Actions)}}action {{else}} actions {{end}} + {{ len $b.Actions }}{{if eq 1 (len $b.Actions)}} action {{else}} actions {{end}}
{{range $act, $tot := $b.ActionSummary}} {{$act}} ({{$tot}}), {{end}} {{if gt (len $b.Archived) 0}} - archive card ({{len $b.Archived}}). + archive card ({{len $b.Archived}}) {{else}} - no cards archived. + no cards archived {{end}}
diff --git a/core/section/trello/master_template.go b/core/section/trello/master_template.go index d3dd739b..ffba5b4f 100644 --- a/core/section/trello/master_template.go +++ b/core/section/trello/master_template.go @@ -12,7 +12,7 @@ package trello const renderTemplate = `

Activity since {{.Since}} for boards: -{{range $idx, $brd := .Boards}}{{if gt $idx 0}}, {{end}}{{$brd.Board.OrgName}} / {{$brd.Board.Name}}{{end}}.

` + +{{range $idx, $brd := .Boards}}{{if gt $idx 0}}, {{end}}{{$brd.Board.OrgName}}/{{$brd.Board.Name}}{{end}}.

` + labelsTemplate + boardsTemplate + graphsTemplate +