GUAC-1172: Work around angular-translate/angular-translate#788 by using the translate directive (no filter). Current scope is not available to filters as of AngularJS 1.3.

This commit is contained in:
Michael Jumper
2015-07-02 16:12:17 -07:00
parent 076a549754
commit 04a303108d
5 changed files with 20 additions and 10 deletions

View File

@@ -32,9 +32,9 @@
<span class="name">{{item.name}}</span>
<!-- Active user count -->
<span class="activeUserCount" ng-show="item.getActiveConnections()">
{{'SETTINGS_CONNECTIONS.INFO_ACTIVE_USER_COUNT' | translate:'{USERS: item.getActiveConnections()}'}}
</span>
<span class="activeUserCount" ng-show="item.getActiveConnections()"
translate="SETTINGS_CONNECTIONS.INFO_ACTIVE_USER_COUNT"
translate-values="{USERS: item.getActiveConnections()}"></span>
</div>
</a>