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

remove test activity translations, add team names to heading

This commit is contained in:
Elliott Stoneham 2016-09-12 20:53:25 +01:00
parent 900ebea3a7
commit 67e80dfdbf
2 changed files with 3 additions and 3 deletions

View file

@ -12,6 +12,6 @@
package trello package trello
var activityTranslation = map[string]string{ var activityTranslation = map[string]string{
"comment card": "comment on card", // TODO, this just to prove the method //"comment card": "comment on card", // TODO, this just to prove the ranslation method
"update board": "", // TODO, this just to test the delete functionality //"update board": "", // TODO, this just to test the delete functionality
} }

View file

@ -12,7 +12,7 @@
package trello package trello
const renderTemplate = `<p>Activity since {{.Since}} for boards: const renderTemplate = `<p>Activity since {{.Since}} for boards:
{{range $idx, $brd := .Boards}}{{if gt $idx 0}}, {{end}}<a class="link" href="{{$brd.Board.URL}}">{{$brd.Board.Name}}</a>{{end}}.</p>` + {{range $idx, $brd := .Boards}}{{if gt $idx 0}}, {{end}}<a class="link" href="{{$brd.Board.URL}}">{{$brd.Board.OrgName}} / {{$brd.Board.Name}}</a>{{end}}.</p>` +
labelsTemplate + labelsTemplate +
boardsTemplate + boardsTemplate +
graphsTemplate + graphsTemplate +