mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 22:51:22 +00:00
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:
@@ -32,9 +32,9 @@
|
||||
<span class="name">{{item.name}}</span>
|
||||
|
||||
<!-- Active user count -->
|
||||
<span class="activeUserCount" ng-show="item.getActiveConnections()">
|
||||
{{'HOME.INFO_ACTIVE_USER_COUNT' | translate:'{USERS: item.getActiveConnections()}'}}
|
||||
</span>
|
||||
<span class="activeUserCount" ng-show="item.getActiveConnections()"
|
||||
translate="HOME.INFO_ACTIVE_USER_COUNT"
|
||||
translate-values="{USERS: item.getActiveConnections()}"></span>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user