mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Updated activity translation map for Trello
This commit is contained in:
parent
690a29c930
commit
cff4b7c496
2 changed files with 18 additions and 5 deletions
|
@ -31,14 +31,14 @@ const boardsTemplate = `
|
|||
</td>
|
||||
<td>
|
||||
<div class="board-summary">
|
||||
{{ len $b.Actions }}{{if eq 1 (len $b.Actions)}} action {{else}} actions {{end}}
|
||||
<!-- {{ len $b.Actions }}{{if eq 1 (len $b.Actions)}} action {{else}} actions {{end}} -->
|
||||
</div>
|
||||
<span class="board-meta">
|
||||
{{range $act, $tot := $b.ActionSummary}}
|
||||
{{$act}} ({{$tot}}),
|
||||
{{$tot}} {{$act}}{{if ne 1 $tot}}s{{end}},
|
||||
{{end}}
|
||||
{{if gt (len $b.Archived) 0}}
|
||||
archive card ({{len $b.Archived}})
|
||||
{{len $b.Archived}} {{if eq 1 (len $b.Archived)}}card {{else}} cards {{end}}archived
|
||||
{{else}}
|
||||
no cards archived
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue