Skip to content
Snippets Groups Projects
Unverified Commit a57161f1 authored by Marin Treselj's avatar Marin Treselj Committed by Roeland Jago Douma
Browse files

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

parent f1d90adb
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,7 @@ OC.Share = _.extend(OC.Share || {}, { ...@@ -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 || {}, { ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment