Restore 'Shared' text field for owner, since 'recipients' is still empty.

Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
Marin Treselj 2017-09-21 14:21:37 +02:00 committed by Roeland Jago Douma
parent f1d90adb09
commit a57161f1e7
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 3 deletions

View File

@ -295,7 +295,7 @@ OC.Share = _.extend(OC.Share || {}, {
recipients = $tr.attr('data-share-recipients');
action.addClass('shared-style');
message = t('core', 'Shared');
avatars = '<span>' + t('core', 'Shared') + '</span>';
// even if reshared, only show "Shared by"
if (owner) {
message = t('core', 'Shared by ');
@ -312,8 +312,7 @@ OC.Share = _.extend(OC.Share || {}, {
action.find('.remoteAddress').tooltip({placement: 'top'});
}
}
else {
} else {
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
}
if (hasLink) {