From 16c62a346ce7d4065ede9e41a405722a74815ced Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 17 Dec 2014 21:22:28 +0100 Subject: improve empty states for sharing and shared links as well --- apps/files_sharing/js/app.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'apps/files_sharing/js') diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js index f34f1e9eaf5..3168e930829 100644 --- a/apps/files_sharing/js/app.js +++ b/apps/files_sharing/js/app.js @@ -40,7 +40,7 @@ OCA.Sharing.App = { this._extendFileList(this._inFileList); this._inFileList.appName = t('files_sharing', 'Shared with you'); this._inFileList.$el.find('#emptycontent').html('
' + - '

' + t('files_sharing', 'Nothing shared with you') + '

' + + '

' + t('files_sharing', 'Nothing shared with you yet') + '

' + '

' + t('files_sharing', 'Files and folders others share with you will show up here') + '

'); return this._inFileList; }, @@ -61,7 +61,9 @@ OCA.Sharing.App = { this._extendFileList(this._outFileList); this._outFileList.appName = t('files_sharing', 'Shared with others'); - this._outFileList.$el.find('#emptycontent').text(t('files_sharing', 'You haven\'t shared any files yet.')); + this._outFileList.$el.find('#emptycontent').html('
' + + '

' + t('files_sharing', 'Nothing shared yet') + '

' + + '

' + t('files_sharing', 'Files and folders you share will show up here') + '

'); return this._outFileList; }, @@ -81,7 +83,9 @@ OCA.Sharing.App = { this._extendFileList(this._linkFileList); this._linkFileList.appName = t('files_sharing', 'Shared by link'); - this._linkFileList.$el.find('#emptycontent').text(t('files_sharing', 'You haven\'t shared any files by link yet.')); + this._linkFileList.$el.find('#emptycontent').html('
' + + '

' + t('files_sharing', 'No shared links') + '

' + + '

' + t('files_sharing', 'Files and folders you share by link will show up here') + '

'); return this._linkFileList; }, -- cgit v1.2.3