1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

rough-cut actions and archived

This commit is contained in:
Elliott Stoneham 2016-09-08 17:17:45 +01:00
parent da6e3b0e11
commit 918a487f43
4 changed files with 123 additions and 35 deletions

View file

@ -14,12 +14,18 @@ package trello
const boardsTemplate = `
<b>All Boards</b><br>
Changes since ###1 Aug 2016###.
{{range $b := .Boards}}
<div>
<p>There are {{ len $b.Actions }} actions for board <a href="{{ $b.Board.URL }}">{{$b.Board.Name}}.</a></p>
<div>
{{range $act := $b.Actions}}
{{$act.Date}} {{$act.Type}} {{$act.MemberCreator.FullName}} <br>
{{range $idx, $act := $b.ActionSummary}}
{{$act}} {{$idx}},
{{end}}
{{if gt (len $b.Archived) 0}}
archiveCard
{{len $b.Archived}}.
<br>
{{end}}
</div>
</div>