Fix UX for address book view

This commit is contained in:
Gustavo Maximiliano Cortez 2017-05-30 12:58:41 -03:00
commit a8defa1377
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 28 additions and 19 deletions

View file

@ -5,11 +5,6 @@
<ion-nav-title>
<span>{{addressbookEntry.name}}</span>
</ion-nav-title>
<ion-nav-buttons side="secondary">
<button class="button back-button" ng-click="remove(addressbookEntry.address)">
Remove
</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content scroll="false">
<div class="gravatar-content">
@ -27,13 +22,19 @@
<span class="address-book-field-label" translate>Email</span>
<span>{{addressbookEntry.email}}</span>
</div>
<div class="item item-text-wrap">
<span class="address-book-field-label" copy-to-clipboard="addressbookEntry.address" translate>Address</span>
<div class="item item-text-wrap" copy-to-clipboard="addressbookEntry.address">
<span class="address-book-field-label" translate>Address</span>
<span>{{addressbookEntry.address}}</span>
</div>
</div>
<button class="button button-standard button-primary" ng-click="sendTo()" translate>
Send Money
</button>
<div class="item item-divider"></div>
<div class="item item-icon-right has-click" ng-click="sendTo()">
<span class="positive" translate>Send Money</span>
<i class="icon bp-arrow-right"></i>
</div>
<div class="item item-divider"></div>
<div class="item has-click" ng-click="remove(addressbookEntry.address)">
<span class="assertive" translate>Remove</span>
</div>
</div>
</ion-content>
</ion-view>