Skip to content
Snippets Groups Projects
Commit a2ca869e authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[enh] Transfer form: replace the change unit button with a unit dropdown style

parent 0695c4f2
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
autocomplete="off" autocomplete="off"
class="hidden-xs hidden-sm" class="hidden-xs hidden-sm"
name="amount" name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}}"
ng-model="formData.amount" ng-model="formData.amount"
required required
number-float> number-float>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
autocomplete="off" autocomplete="off"
class="visible-xs visible-sm" class="visible-xs visible-sm"
name="amount" name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}}"
ng-model="formData.amount" ng-model="formData.amount"
required required
number-float> number-float>
...@@ -79,14 +79,14 @@ ...@@ -79,14 +79,14 @@
tabindex="4" tabindex="4"
ng-click="showDigitKeyboard()"></div> ng-click="showDigitKeyboard()"></div>
<a class="button button-stable icon ion-arrow-swap gray ink hidden-xs hidden-sm" <a class="button button-clear button-stable dark ink"
tabindex="-1" tabindex="-1" style="z-index:110; padding: 0px 16px;"
ng-click="showUnitPopover($event)">
</a>
<a class="button button-icon gray icon ion-android-more-vertical ink visible-xs visible-sm"
style="z-index:110; right: 0px;"
ng-click="showUnitPopover($event)"> ng-click="showUnitPopover($event)">
<span ng-bind-html="$root.currency.name | currencySymbol:formData.useRelative">
</span>
&nbsp;<b class="ion-arrow-down-b" style="font-size: 12pt;"></b>
</a> </a>
</ion-item> </ion-item>
<div class="form-errors" <div class="form-errors"
ng-show="form.$submitted && form.amount.$error" ng-show="form.$submitted && form.amount.$error"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment