diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index ace633a8d..9f4c568ca 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -283,6 +283,7 @@ define(function () { out.settings_userFeedback = "Enable user feedback"; out.settings_anonymous = "You are not logged in. Settings here are specific to this browser."; + out.settings_publicSigningKey = "Public Signing Key"; // index.html diff --git a/www/settings/main.js b/www/settings/main.js index a8cf81480..64bf15f7b 100644 --- a/www/settings/main.js +++ b/www/settings/main.js @@ -52,6 +52,19 @@ define([ $div.append($label).append($name); + var publicKey = obj.edPublic; + if (publicKey) { + var $pubLabel = $('', {'class': 'label'}) + .text(Messages.settings_publicSigningKey + ':'); + var $pubKey = $('', {type: 'text', readonly: true}) + .css({ + width: '28em' + }) + .val(publicKey); + $div.append('
').append($pubLabel).append($pubKey); + } + + return $div; };