Skip to content

Commit

Permalink
use ng-pluralize
Browse files Browse the repository at this point in the history
  • Loading branch information
shanzi committed May 28, 2015
1 parent b22525c commit c2c4561
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ div.tile
div.title Slaves
div.count {{ overview.slaves.count }}
div.extra
| {{ overview.slaves.connections }} connections.
ng-pluralize(
count="overview.slaves.connections",
when="{'0': 'No connection.','one': '1 connection.','other': '{} connections.'}")
div.tile
div.title Builders
div.count {{ overview.builders.count }}
Expand Down

0 comments on commit c2c4561

Please sign in to comment.