Commit 97540f679efe236f909b7705933a49da49f420b9
1 parent
b12434f3
Exists in
master
and in
2 other branches
Ticket #26: Limit number of displayed tags
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ConfJuvApp/www/html/_proposal.html
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | 31 | ||
32 | <p class="proposal-badges"> | 32 | <p class="proposal-badges"> |
33 | <img ng-src="img/badge-{{proposal.topic.id}}.svg" alt="" /> | 33 | <img ng-src="img/badge-{{proposal.topic.id}}.svg" alt="" /> |
34 | - <img ng-repeat="tag in proposal.tag_list" ng-src="https://img.shields.io/badge/tag-{{tag | tagFilter}}-4db6ac.svg" alt="" /> | 34 | + <img ng-repeat="tag in proposal.tag_list | limitTo:3" ng-src="https://img.shields.io/badge/tag-{{tag | tagFilter}}-4db6ac.svg" alt="" /> |
35 | </p> | 35 | </p> |
36 | 36 | ||
37 | <p>{{proposal.body | htmlToPlainText}}</p> | 37 | <p>{{proposal.body | htmlToPlainText}}</p> |