Restore 'Shared' text field for owner, since 'recipients' is still empty.
Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
parent
f1d90adb09
commit
a57161f1e7
|
@ -295,7 +295,7 @@ OC.Share = _.extend(OC.Share || {}, {
|
||||||
recipients = $tr.attr('data-share-recipients');
|
recipients = $tr.attr('data-share-recipients');
|
||||||
action.addClass('shared-style');
|
action.addClass('shared-style');
|
||||||
|
|
||||||
message = t('core', 'Shared');
|
avatars = '<span>' + t('core', 'Shared') + '</span>';
|
||||||
// even if reshared, only show "Shared by"
|
// even if reshared, only show "Shared by"
|
||||||
if (owner) {
|
if (owner) {
|
||||||
message = t('core', 'Shared by ');
|
message = t('core', 'Shared by ');
|
||||||
|
@ -312,8 +312,7 @@ OC.Share = _.extend(OC.Share || {}, {
|
||||||
|
|
||||||
action.find('.remoteAddress').tooltip({placement: 'top'});
|
action.find('.remoteAddress').tooltip({placement: 'top'});
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
||||||
}
|
}
|
||||||
if (hasLink) {
|
if (hasLink) {
|
||||||
|
|
Loading…
Reference in New Issue