summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 21:13:53 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 21:13:53 +0100
commite3192bfa266df0b9e1e9de7bae13b61d1187e336 (patch)
tree8a7b61f82de04d297a4b79ec95e8dceee679ad13 /apps
parent2be66044cc346e0936043947416ea77395ac8f96 (diff)
downloadnextcloud-server-e3192bfa266df0b9e1e9de7bae13b61d1187e336.tar.gz
nextcloud-server-e3192bfa266df0b9e1e9de7bae13b61d1187e336.zip
use empty state for 'Shared with you' as well
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js
index ff6997ab12f..f34f1e9eaf5 100644
--- a/apps/files_sharing/js/app.js
+++ b/apps/files_sharing/js/app.js
@@ -39,7 +39,9 @@ OCA.Sharing.App = {
this._extendFileList(this._inFileList);
this._inFileList.appName = t('files_sharing', 'Shared with you');
- this._inFileList.$el.find('#emptycontent').text(t('files_sharing', 'No files have been shared with you yet.'));
+ this._inFileList.$el.find('#emptycontent').html('<div class="icon-share"></div>' +
+ '<h2>' + t('files_sharing', 'Nothing shared with you') + '</h2>' +
+ '<p>' + t('files_sharing', 'Files and folders others share with you will show up here') + '</p>');
return this._inFileList;
},