display a user's public signing key in settings if it exists
This commit is contained in:
@@ -52,6 +52,19 @@ define([
|
||||
|
||||
$div.append($label).append($name);
|
||||
|
||||
var publicKey = obj.edPublic;
|
||||
if (publicKey) {
|
||||
var $pubLabel = $('<span>', {'class': 'label'})
|
||||
.text(Messages.settings_publicSigningKey + ':');
|
||||
var $pubKey = $('<input>', {type: 'text', readonly: true})
|
||||
.css({
|
||||
width: '28em'
|
||||
})
|
||||
.val(publicKey);
|
||||
$div.append('<br>').append($pubLabel).append($pubKey);
|
||||
}
|
||||
|
||||
|
||||
return $div;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user