summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-07-06 07:56:32 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-05-21 01:24:45 +0200
commit2e3517eb00a7eb40bc9202fa4548fc97a39ec52f (patch)
tree9d8785bf9804a880139022b160631a35dbe058c5 /core/js
parent0009adae80cf9b3f8bcc40bd3f75d2a3f2cee6ad (diff)
downloadnextcloud-server-2e3517eb00a7eb40bc9202fa4548fc97a39ec52f.tar.gz
nextcloud-server-2e3517eb00a7eb40bc9202fa4548fc97a39ec52f.zip
display details on sharing panel
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/sharedialogresharerinfoview.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/js/sharedialogresharerinfoview.js b/core/js/sharedialogresharerinfoview.js
index 8afec33e7eb..f4bf9afa0b2 100644
--- a/core/js/sharedialogresharerinfoview.js
+++ b/core/js/sharedialogresharerinfoview.js
@@ -84,7 +84,18 @@
undefined,
{escape: false}
);
- } else {
+ } else if (this.model.getReshareType() === OC.Share.SHARE_TYPE_CIRCLE) {
+ sharedByText = t(
+ 'core',
+ 'Shared with you and {circle} by {owner}',
+ {
+ circle: this.model.getReshareWithDisplayName(),
+ owner: ownerDisplayName
+ },
+ undefined,
+ {escape: false}
+ );
+ } else {
sharedByText = t(
'core',
'Shared with you by {owner}',