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:
1 parent
076a549754
commit
04a303108d
5 files changed
+20
-10
No files matched your search
@@ -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