Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

added copy address or copy public key when you hover over that #352

Merged
merged 1 commit into from
Oct 25, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions client/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ <h2 translate>
<translate>Refresh Account</translate>
</md-tooltip>
</md-button>

<md-button ng-if="ul.selected.virtual" md-no-ink ng-click="ul.sendArk(ul.selected)" aria-label="Share with {{ ul.selected.address }}">
<md-icon md-font-library="material-icons">send</md-icon>
<md-tooltip>
Expand Down Expand Up @@ -479,7 +479,11 @@ <h2 translate>
<span class="delegate-name" ng-controller="AddressbookController as ab">{{ab.getContactFromAddress(ul.selected.address).name || ul.selected.username || 'Address'}} {{ul.selected.ledger}}</span>
<br>
<md-button ng-click="ul.copiedToClipboard()" style="text-transform: none;" copy-to-clipboard="{{((!ul.showPublicKey) && ul.selected.address || ul.selected.publicKey)}}">
<md-icon>content_copy</md-icon> {{((!ul.showPublicKey) && ul.selected.address || ul.selected.publicKey)}}
<md-icon>content_copy</md-icon>
<md-tooltip md-direction="top">
<translate>Copy {{((ul.showPublicKey) && 'public key' || 'address')}}</translate>
</md-tooltip>
{{((!ul.showPublicKey) && ul.selected.address || ul.selected.publicKey)}}
</md-button>
<md-icon ng-if="ul.selected.publicKey" aria-label="Address" style="cursor: pointer;outline: none" ng-click="ul.showPublicKey = !ul.showPublicKey" md-font-library="material-icons">
<md-tooltip md-direction="top">
Expand Down