|
|
@ -68,7 +68,7 @@ define([
|
|
|
|
var publicKey = privateData.edPublic;
|
|
|
|
var publicKey = privateData.edPublic;
|
|
|
|
if (publicKey) {
|
|
|
|
if (publicKey) {
|
|
|
|
var $key = $('<div>', {'class': 'cp-sidebarlayout-element'}).appendTo($div);
|
|
|
|
var $key = $('<div>', {'class': 'cp-sidebarlayout-element'}).appendTo($div);
|
|
|
|
var userHref = Hash.getUserHrefFromKeys(accountName, publicKey);
|
|
|
|
var userHref = Hash.getUserHrefFromKeys(privateData.origin, accountName, publicKey);
|
|
|
|
var $pubLabel = $('<span>', {'class': 'label'})
|
|
|
|
var $pubLabel = $('<span>', {'class': 'label'})
|
|
|
|
.text(Messages.settings_publicSigningKey);
|
|
|
|
.text(Messages.settings_publicSigningKey);
|
|
|
|
$key.append($pubLabel).append(UI.dialog.selectable(userHref));
|
|
|
|
$key.append($pubLabel).append(UI.dialog.selectable(userHref));
|
|
|
|