Improve addressbook for mobile

This commit is contained in:
Gustavo Maximiliano Cortez 2015-10-30 18:34:34 -03:00
commit ee33526129
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 22 additions and 15 deletions

View file

@ -22,7 +22,7 @@
<span ng-show="!tx.merchant.pr.ca"><i class="fi-unlock"></i> {{tx.merchant.domain}}</span>
</span>
<span ng-if="!tx.merchant">
<contact address="{{tx.toAddress}}"></contact>
{{index.addressbook[tx.toAddress] || tx.toAddress}}
</span>
</span>
</div>

View file

@ -321,7 +321,9 @@
<div class="input">
<input ng-show="sendForm.address.$invalid" class="m0" type="text" id="address" name="address" ng-disabled="home.blockUx || home.lockAddress" ng-attr-placeholder="{{'Bitcoin address'|translate}}" ng-model="_address" valid-address required ng-focus="home.formFocus('address')" ng-blur="home.formFocus(false)">
<contact class="addressbook-input" ng-if="!sendForm.address.$invalid && _address" address="{{_address}}"></contact>
<div class="addressbook-input" ng-show="!sendForm.address.$invalid && _address">
{{index.addressbook[_address] || _address}}
</div>
<a class="postfix size-12 m0 text-gray"
ng-click="openDestinationAddressModal(index.otherWallets, _address)">
<i class="icon-wallet size-18"></i>
@ -516,8 +518,7 @@
<div class="size-14 text-gray columns m5t" ng-if="btx.message || btx.addressTo">
<div ng-show="btx.message"><span translate>Note</span>: {{btx.message}}</div>
<div ng-show="!btx.message">
<span translate>To</span>:
<contact address="{{btx.addressTo}}"></contact>
<span translate>To</span>: {{index.addressbook[btx.addressTo] || btx.addressTo}}
</div>
</div>
</div>