mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
improve empty states for sharing and shared links as well
This commit is contained in:
parent
e3192bfa26
commit
16c62a346c
1 changed files with 7 additions and 3 deletions
|
|
@ -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('<div class="icon-share"></div>' +
|
||||
'<h2>' + t('files_sharing', 'Nothing shared with you') + '</h2>' +
|
||||
'<h2>' + t('files_sharing', 'Nothing shared with you yet') + '</h2>' +
|
||||
'<p>' + t('files_sharing', 'Files and folders others share with you will show up here') + '</p>');
|
||||
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('<div class="icon-share"></div>' +
|
||||
'<h2>' + t('files_sharing', 'Nothing shared yet') + '</h2>' +
|
||||
'<p>' + t('files_sharing', 'Files and folders you share will show up here') + '</p>');
|
||||
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('<div class="icon-public"></div>' +
|
||||
'<h2>' + t('files_sharing', 'No shared links') + '</h2>' +
|
||||
'<p>' + t('files_sharing', 'Files and folders you share by link will show up here') + '</p>');
|
||||
return this._linkFileList;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue