mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Added board colour codes and summary totals
This commit is contained in:
parent
8fbac3e2e2
commit
42704bdcca
2 changed files with 16 additions and 5 deletions
|
@ -13,11 +13,18 @@ package trello
|
|||
|
||||
const boardsTemplate = `
|
||||
|
||||
<b>All Boards</b><br>
|
||||
<h3>All Boards</h3>
|
||||
Changes since ###1 Aug 2016###.
|
||||
|
||||
<p>{{len .Boards}} Boards, ###30 Lists, {{.CardTotal}} Cards, {{len .MemberBoardAssign}} Members, #10 Archived</p>
|
||||
|
||||
{{range $b := .Boards}}
|
||||
<div>
|
||||
<p>There are {{ len $b.Actions }} actions for board <a href="{{ $b.Board.URL }}">{{$b.Board.Name}}.</a></p>
|
||||
<p>There are {{ len $b.Actions }} actions for board
|
||||
<a href="{{ $b.Board.URL }}">
|
||||
<span style="background-color: {{$b.Board.Prefs.BackgroundColor}}">{{$b.Board.Name}}</span>
|
||||
</a>
|
||||
</p>
|
||||
<div>
|
||||
{{range $idx, $act := $b.ActionSummary}}
|
||||
{{$act}} {{$idx}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue