diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index f5ad75bf6..5c0b4c25f 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -282,6 +282,9 @@ define(function () { out.contacts_info3 = "Double-click their icon to view their profile"; out.contacts_info4 = "Either participant can clear permanently a chat history"; + out.contacts_confirmRemoveHistory = 'Are you sure you want to permanently remove your chat history? Data cannot be restored'; + out.contacts_removeHistoryServerError = 'There was an error while removing your chat history. Try again later'; + // File manager out.fm_rootName = "Documents"; diff --git a/www/common/common-messaging.js b/www/common/common-messaging.js index 976ed706b..4c426cffe 100644 --- a/www/common/common-messaging.js +++ b/www/common/common-messaging.js @@ -284,24 +284,27 @@ define([ var data = getFriend(common, curvePublic); var proxy = common.getProxy(); - var $header = $('
', {'class': 'header avatar'}).appendTo($container); -/* + var $header = $('
', { + 'class': 'cp-contact-top-bar header', + }).appendTo($container); + + var $avatar = $('
', {'class': 'avatar'}).appendTo($header); + var $removeHistory = $('