Fix translate attrs
This commit is contained in:
parent
5b22861222
commit
4533365107
9 changed files with 24 additions and 33 deletions
|
|
@ -29,15 +29,15 @@
|
|||
<div class="small-6 columns">
|
||||
<button class="round expand" ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)" ng-disabled="!pass.password"
|
||||
ng-style="{'background-color':index.backgroundColor}">
|
||||
<span translate ng-if="index.askPassword.isSetup" translate>SET</span>
|
||||
<span translate ng-if="!index.askPassword.isSetup" translate>OK</span>
|
||||
<span ng-if="index.askPassword.isSetup" translate>SET</span>
|
||||
<span ng-if="!index.askPassword.isSetup">OK</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="text-warning size-12 columns m20t text-center" ng-show="index.askPassword.isSetup">
|
||||
<i class="fi-alert"></i>
|
||||
<span translate ng-show="!pass.error"> Password cannot be recovered. Be sure to write it down</span>
|
||||
<span translate ng-show="!pass.error">Password cannot be recovered. Be sure to write it down</span>
|
||||
|
||||
<span ng-show="pass.error">{{pass.error|translate}}</span>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue