summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogshareelistview.js
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-03-17 18:48:33 -0100
committerMaxence Lange <maxence@nextcloud.com>2017-03-17 18:48:33 -0100
commit69694012ab0eca1ec1f3dc0d2b10a3b1728b0927 (patch)
treef79ec80ba1eefb73884c723718d8fa5c76cbf203 /core/js/sharedialogshareelistview.js
parent3c66ad64e626cb602685a640c235d472f0777a53 (diff)
downloadnextcloud-server-69694012ab0eca1ec1f3dc0d2b10a3b1728b0927.tar.gz
nextcloud-server-69694012ab0eca1ec1f3dc0d2b10a3b1728b0927.zip
shares-circles
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r--core/js/sharedialogshareelistview.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 47dc62d14fe..e46a761db6c 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -158,6 +158,7 @@
shareWithDisplayName = shareWithDisplayName + " (" + t('core', 'remote') + ')';
} else if (shareType === OC.Share.SHARE_TYPE_EMAIL) {
shareWithDisplayName = shareWithDisplayName + " (" + t('core', 'email') + ')';
+ } else if (shareType === OC.Share.SHARE_TYPE_CIRCLE) {
}
if (shareType === OC.Share.SHARE_TYPE_GROUP) {
@@ -166,6 +167,8 @@
shareWithTitle = shareWith + " (" + t('core', 'remote') + ')';
} else if (shareType === OC.Share.SHARE_TYPE_EMAIL) {
shareWithTitle = shareWith + " (" + t('core', 'email') + ')';
+ } else if (shareType === OC.Share.SHARE_TYPE_CIRCLE) {
+ shareWithTitle = shareWith;
}
return _.extend(hasPermissionOverride, {
@@ -183,6 +186,7 @@
modSeed: shareType !== OC.Share.SHARE_TYPE_USER,
isRemoteShare: shareType === OC.Share.SHARE_TYPE_REMOTE,
isMailShare: shareType === OC.Share.SHARE_TYPE_EMAIL,
+ isCircleShare: shareType === OC.Share.SHARE_TYPE_CIRCLE,
isFileSharedByMail: shareType === OC.Share.SHARE_TYPE_EMAIL && !this.model.isFolder()
});
},