diff --git a/www/templates/common/qrcode.html b/www/templates/common/qrcode.html index b8c625a288ac6e4a5c06604ff3266a9375583015..a778b7f3a0db3265541405dfb82a1808b0fe5ffb 100644 --- a/www/templates/common/qrcode.html +++ b/www/templates/common/qrcode.html @@ -3,12 +3,17 @@ ng-class="{'active': toggleQRCode}" ng-click="toggleQRCode = !toggleQRCode"> <div class="content"></div> - <div class="footer item item-icon-left item-text-wrap ink" + <div class="footer item item-icon-left item-text-wrap item-icon-right ink" + ng-if="toggleQRCode" on-hold="copy(formData.pubkey)" - copy-on-click="{{:rebind:formData.pubkey}}" + copy-on-click="{{::formData.pubkey|formatPubkey:{full: true, checksum: formData.checksum} }}" ng-click="$event.stopPropagation()"> <i class="icon ion-key"></i> <span>{{:locale:'COMMON.PUBKEY'|translate}}</span> - <h4 id="pubkey" class="dark">{{:rebind:formData.pubkey}}</h4> + + <h4 class="dark text-left">{{::formData.pubkey|formatPubkey: {full: true, checksum: formData.checksum} }}</h4> + + <!-- icon of the pubkey --> + <i class="icon" jdenticon="{{::formData.pubkey}}" jdenticon-size="32"></i> </div> </a>