diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-18 12:38:22 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-10-30 10:19:35 +0100 |
commit | 3313c0142df1399a038371c5265fa4b3d126b201 (patch) | |
tree | 1f517cdba260f4e20f01dfeec6c47273b1ea170a /core/js | |
parent | fd08dd613a620c16c14a9492d11827cc1bd75034 (diff) | |
download | nextcloud-server-3313c0142df1399a038371c5265fa4b3d126b201.tar.gz nextcloud-server-3313c0142df1399a038371c5265fa4b3d126b201.zip |
Simplify share list text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialogview.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 8c9e812adfa..9709c734f60 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -466,26 +466,21 @@ }, autocompleteRenderItem: function(ul, item) { - var icon = 'icon-user'; var text = item.label; if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) { - text = t('core', '{sharee} (group)', { sharee: text }, undefined, { escape: false }); icon = 'icon-contacts-dark'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) { - text = t('core', '{sharee} (remote)', {sharee: text}, undefined, {escape: false}); icon = 'icon-shared'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE_GROUP) { text = t('core', '{sharee} (remote group)', { sharee: text }, undefined, { escape: false }); icon = 'icon-shared'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_EMAIL) { - text = t('core', '{sharee} (email)', { sharee: text }, undefined, { escape: false }); icon = 'icon-mail'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_CIRCLE) { text = t('core', '{sharee} ({type}, {owner})', {sharee: text, type: item.value.circleInfo, owner: item.value.circleOwner}, undefined, {escape: false}); icon = 'icon-circle'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_ROOM) { - text = t('core', '{sharee} (conversation)', { sharee: text }, undefined, { escape: false }); icon = 'icon-talk'; } var description = ''; |