1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

More tweaks and updates to the Trello design

This commit is contained in:
EnesAlili 2016-09-09 16:47:47 +01:00
parent 1e37c68d99
commit a0ebb215d9
5 changed files with 111 additions and 56 deletions

View file

@ -17,20 +17,22 @@ const membersTemplate = `
There are {{len .MemberBoardAssign}} members assigned to {{.CardAssignTotal}} cards of the total {{.CardTotal}} cards across {{len .Boards}} boards.
</p>
<div class="section-trello-render non-printable">
<div class="section-trello-render">
<table class="trello-table" class="width-100">
<tbody>
{{range $m := .MemberBoardAssign}}
<tr>
<td class="width-15">
<td>
<img class="trello-avatar" src="https://trello-avatars.s3.amazonaws.com/{{$m.AvatarHash}}/50.png" height="50" alt="Member Avatar">
</td>
<td class="width-85">
<td>
<h6>{{$m.MemberName}}</h6>
{{range $ac := $m.AssignCounts}}
{{$ac.BoardName}} ({{$ac.Count}}),
{{end}}
<p>
{{range $ac := $m.AssignCounts}}
{{$ac.BoardName}} ({{$ac.Count}}),
{{end}}
</p>
</td>
</tr>
{{end}}