mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
cleanup pgp key popover
This commit is contained in:
parent
979354407e
commit
dd9ea28772
@ -31,7 +31,7 @@ define(function(require) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.getKeyId = function(address) {
|
$scope.getKeyId = function(address) {
|
||||||
$scope.keyId = 'Key not found for that user.';
|
$scope.keyId = 'unknown user';
|
||||||
keychain.getReceiverPublicKey(address, function(err, pubkey) {
|
keychain.getReceiverPublicKey(address, function(err, pubkey) {
|
||||||
if (err) {
|
if (err) {
|
||||||
$scope.onError(err);
|
$scope.onError(err);
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
<!-- popovers -->
|
<!-- popovers -->
|
||||||
<div id="fingerprint-info" class="popover right" ng-controller="PopoverCtrl">
|
<div id="fingerprint-info" class="popover right" ng-controller="PopoverCtrl">
|
||||||
<div class="arrow"></div>
|
<div class="arrow"></div>
|
||||||
<div class="popover-title"><b>PGP key ID</b></div>
|
<div class="popover-content"><b>PGP key:</b> {{keyId}}</div>
|
||||||
<div class="popover-content">{{keyId}}</div>
|
|
||||||
</div><!--/.popover-->
|
</div><!--/.popover-->
|
||||||
</div><!--/.view-read-->
|
</div><!--/.view-read-->
|
||||||
|
Loading…
Reference in New Issue
Block a user