summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorMarin Treselj <marin@pixelipo.com>2017-09-21 14:21:37 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-10-31 11:35:21 +0100
commita57161f1e73a1238cf7ffa0ac39e5b6be54f105f (patch)
tree6b6c19cd82c8ae54f786d78779e0edc8fec579c9 /core/js/share.js
parentf1d90adb09bc48b0c7be22968aaa2594fa9bae24 (diff)
downloadnextcloud-server-a57161f1e73a1238cf7ffa0ac39e5b6be54f105f.tar.gz
nextcloud-server-a57161f1e73a1238cf7ffa0ac39e5b6be54f105f.zip
Restore 'Shared' text field for owner, since 'recipients' is still empty.
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 35214fb11b8..240fc0fb761 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -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) {