diff options
-rw-r--r-- | core/js/sharedialogview.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 4cebf7962e8..b9628f223a9 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -219,7 +219,11 @@ if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) { text = text + ' ('+t('core', 'group')+')'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) { - text = text + ' ('+t('core', 'remote')+')'; + if (item.value.server) { + text = text + ' (' + t('core', 'at') + ' ' + item.value.server + ')'; + } else { + text = text + ' (' + t('core', 'remote') + ')'; + } } insert.text(text); if(item.value.shareType === OC.Share.SHARE_TYPE_GROUP) { |