use empty state for 'Shared with you' as well

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 21:13:53 +01:00
parent 2be66044cc
commit e3192bfa26
2 changed files with 6 additions and 1 deletions

View file

@ -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;
},

View file

@ -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;
}