From 2ccaae89681751c3c7d99caa1abd79daa910d35e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 25 Apr 2017 10:12:10 +0200 Subject: [PATCH] Fix emptycontent HTML and wording Signed-off-by: Jan-Christoph Borchardt --- core/js/contactsmenu.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js index 93d5c43719..15c48887d2 100644 --- a/core/js/contactsmenu.js +++ b/core/js/contactsmenu.js @@ -32,7 +32,7 @@ var CONTACTS_LIST_TEMPLATE = '' + '{{#unless contacts.length}}' + '
' - + ' ' + + ' ' + '

' + t('core', 'No contacts found') + '

' + '
' + '{{/unless}}' @@ -40,12 +40,13 @@ + '{{#if contactsAppEnabled}}{{/if}}'; var LOADING_TEMPLATE = '' + '
' - + ' ' + + '
' + '

{{loadingText}}

' + '
'; var ERROR_TEMPLATE = '' + '
' - + '

' + t('core', 'Could not load your contacts.') + '

' + + ' ' + + '

' + t('core', 'There was an error loading your contacts') + '

' + '
'; var CONTACT_TEMPLATE = '' + '{{#if contact.avatar}}' @@ -508,7 +509,7 @@ self._view.showContacts(data, searchTerm); }, function(e) { self._view.showError(); - console.error('could not load contacts', e); + console.error('There was an error loading your contacts', e); }).then(function() { // Delete promise, so that contacts are fetched again when the // menu is opened the next time.