use empty state for 'Shared with you' as well

remotes/origin/fix-10825
Jan-Christoph Borchardt 12 years ago
parent 2be66044cc
commit e3192bfa26
  1. 4
      apps/files_sharing/js/app.js
  2. 3
      core/css/styles.css

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

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

Loading…
Cancel
Save