mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01: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:
@@ -96,7 +96,9 @@ THE SOFTWARE.
|
||||
<tr ng-repeat="wrapper in wrapperPage">
|
||||
<td class="username">{{wrapper.entry.username}}</td>
|
||||
<td class="start">{{wrapper.entry.startDate | date:historyDateFormat}}</td>
|
||||
<td class="duration">{{wrapper.durationText | translate:"{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"}}</td>
|
||||
<td class="duration"
|
||||
translate="{{wrapper.durationText}}"
|
||||
translate-values="{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user