Manteinance and enhanced names back to filters because angular-gettext doesn't support translating variables from directives.

This commit is contained in:
Gunther Brunner
2014-06-19 22:13:03 +09:00
parent aebeb4d357
commit cb519dbade
8 changed files with 133 additions and 57 deletions

View File

@@ -8,9 +8,12 @@
.modal-body
.text-danger(translate) You are no longer controlling the device.
br
h4(translate).pull-right {{ device.enhancedName }} current status:
//span(ng-class='device.enhancedButtonClass').btn.btn-xs.device-status {{device.enhancedState }}
span {{ device.enhancedState }}
h4(translate).pull-right {{ device.enhancedName }} current status:
br
br
h4.pull-right {{ device.enhancedStatePassive | translate }}
.modal-footer
button.btn.btn-primary(type='button', ng-click='ok()')
i.fa.fa-refresh