|
|
@ -25,18 +25,14 @@
|
|
|
|
return octets;
|
|
|
|
return octets;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
render_attributes: function() {
|
|
|
|
render_attributes: function() {
|
|
|
|
var attributes = {
|
|
|
|
return {
|
|
|
|
verifyIdentity: i18n('verifyIdentity'),
|
|
|
|
verifyIdentity: i18n('verifyIdentity'),
|
|
|
|
yourIdentity: i18n('yourIdentity'),
|
|
|
|
yourIdentity: i18n('yourIdentity'),
|
|
|
|
theirIdentity: i18n('theirIdentity'),
|
|
|
|
theirIdentity: i18n('theirIdentity'),
|
|
|
|
|
|
|
|
their_key_unknown: i18n('theirIdentityUnknown'),
|
|
|
|
your_key: this.splitKey(this.model.your_key),
|
|
|
|
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;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})();
|
|
|
|
})();
|
|
|
|