aboutsummaryrefslogtreecommitdiffstats
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
parent2be66044cc346e0936043947416ea77395ac8f96 (diff)
downloadnextcloud-server-e3192bfa266df0b9e1e9de7bae13b61d1187e336.tar.gz
nextcloud-server-e3192bfa266df0b9e1e9de7bae13b61d1187e336.zip
use empty state for 'Shared with you' as well
-rw-r--r--apps/files_sharing/js/app.js4
-rw-r--r--core/css/styles.css3
2 files changed, 6 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;
},
diff --git a/core/css/styles.css b/core/css/styles.css
index e84b6615d90..0d97cc11482 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -338,6 +338,9 @@ input[type="submit"].enabled {
height: 64px;
width: 64px;
margin: 0 auto 15px;
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+ filter: alpha(opacity=50);
+ opacity: .5;
}