diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 4cebf7962e..b9628f223a 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) {