1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-28 01:29:43 +02:00

More Trello copy tweaks

This commit is contained in:
EnesAlili 2016-09-12 21:09:40 +01:00
parent 67e80dfdbf
commit 690a29c930
3 changed files with 17 additions and 5 deletions

View file

@ -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 {

View file

@ -23,7 +23,10 @@ const boardsTemplate = `
<tr>
<td>
<a href="{{ $b.Board.URL }}">
<span class="trello-board" style="background-color: {{$b.Board.Prefs.BackgroundColor}}">{{$b.Board.Name}}</span>
<div class="trello-board" style="background-color: {{$b.Board.Prefs.BackgroundColor}}">
{{$b.Board.Name}}
<span>{{$b.Board.OrgName}}</span>
</div>
</a>
</td>
<td>
@ -35,9 +38,9 @@ const boardsTemplate = `
{{$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}}
<br>
</span>