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
|
@ -12,15 +12,19 @@
|
|||
package trello
|
||||
|
||||
const archiveTemplate = `
|
||||
<b>Deleted and Archived Cards</b><br>
|
||||
<h3>Deleted and Archived Cards</h3>
|
||||
Since ###1st Aug 2016###<br>
|
||||
{{range $b := .Boards}}
|
||||
<div>
|
||||
<p>For board <a href="{{ $b.Board.URL }}">{{$b.Board.Name}}</a>.</p>
|
||||
<p>For board
|
||||
<a href="{{ $b.Board.URL }}">
|
||||
<span style="background-color: {{$b.Board.Prefs.BackgroundColor}}">{{$b.Board.Name}}</span>
|
||||
</a>
|
||||
</p>
|
||||
<div>
|
||||
{{range $act := $b.Actions}}
|
||||
{{if eq $act.Type "deleteCard" }}
|
||||
Deleted:
|
||||
Deleted:
|
||||
{{$act.Data.List.Name}}/{{$act.Data.Card.Name}} - {{$act.Data.Text}}
|
||||
<br>
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue