display a user's public signing key in settings if it exists

This commit is contained in:
ansuz committed 2017-03-24 14:26:36 +01:00
1 parent ba53b50e0b
commit 3e9eb03e5a
2 files changed
+14

No files matched your search

+13
View File
@@ -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;
};