diff --git a/background.html b/background.html
index fbe456ae..3d9ff300 100644
--- a/background.html
+++ b/background.html
@@ -217,12 +217,11 @@
{{theirIdentity}}
-
- {{ #their_key_unknown }} {{ their_key_unknown }}{{ /their_key_unknown }}
-
+ {{ ^their_key }}
+
{{ their_key_unknown }}
+ {{ /their_key }}
{{ #their_key }} {{ . }} {{ /their_key }}
-
{{yourIdentity}}
diff --git a/js/views/key_verification_view.js b/js/views/key_verification_view.js
index 0f38dba4..8e145a4b 100644
--- a/js/views/key_verification_view.js
+++ b/js/views/key_verification_view.js
@@ -25,18 +25,14 @@
return octets;
},
render_attributes: function() {
- var attributes = {
+ return {
verifyIdentity: i18n('verifyIdentity'),
yourIdentity: i18n('yourIdentity'),
theirIdentity: i18n('theirIdentity'),
+ their_key_unknown: i18n('theirIdentityUnknown'),
your_key: this.splitKey(this.model.your_key),
+ their_key: this.splitKey(this.model.their_key)
};
- if(this.model.their_key) {
- attributes.their_key = this.splitKey(this.model.their_key);
- } else {
- attributes.their_key_unknown = i18n('theirIdentityUnknown');
- }
- return attributes;
}
});
})();
diff --git a/stylesheets/_conversation.scss b/stylesheets/_conversation.scss
index ee834982..87c73faf 100644
--- a/stylesheets/_conversation.scss
+++ b/stylesheets/_conversation.scss
@@ -49,13 +49,14 @@
p {
padding: 1em;
}
- .key {
- font-family: monospace;
+ .key, .placeholder {
padding: 0 1em;
-webkit-user-select: text;
}
- .key.placeholder {
- font-family: inherit;
+ .key {
+ font-family: monospace;
+ }
+ .placeholder {
font-weight: bold;
}
.container {
diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css
index 44f992e6..0c89b8eb 100644
--- a/stylesheets/manifest.css
+++ b/stylesheets/manifest.css
@@ -616,12 +616,12 @@ input.search {
background: white; }
.key-verification p {
padding: 1em; }
- .key-verification .key {
- font-family: monospace;
+ .key-verification .key, .key-verification .placeholder {
padding: 0 1em;
-webkit-user-select: text; }
- .key-verification .key.placeholder {
- font-family: inherit;
+ .key-verification .key {
+ font-family: monospace; }
+ .key-verification .placeholder {
font-weight: bold; }
.key-verification .container {
height: calc(100% - (36px + 5px + 1px + 4px)); }