translate in info tag

This commit is contained in:
Dani Herrero 2017-09-21 09:06:51 +02:00
parent 1e494ec08b
commit 32d816ba60
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<vn-textfield vn-one label="User name" field="$ctrl.client.userName"></vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield vn-one label="Email" field="$ctrl.client.email" info="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget rhoncus metus. Nullam quis ante venenatis, laoreet tellus ac, egestas tellus. Suspendisse placerat tristique libero a posuere."></vn-textfield>
<vn-textfield vn-one label="Email" field="$ctrl.client.email" info="Push on applications menu"></vn-textfield>
<vn-one></vn-one>
</vn-horizontal>
</vn-vertical>

View File

@ -9,7 +9,7 @@
/>
<div class="mdl-chip__action">
<i class="material-icons pointer" ng-show="$ctrl.hasValue" ng-click="$ctrl.clear()">clear</i>
<i class="material-icons" ng-if="$ctrl.hasInfo" vn-tooltip="{{$ctrl.info}}" tooltip-position="up">info_outline</i>
<i class="material-icons" ng-if="$ctrl.hasInfo" vn-tooltip="{{$ctrl.info | translate}}" tooltip-position="up">info_outline</i>
</div>
<label class="mdl-textfield__label" translate>{{$ctrl.label}}</label>
</div>