display details on sharing panel

Signed-off-by: Maxence Lange <maxence@nextcloud.com>
This commit is contained in:
Maxence Lange 2017-07-06 07:56:32 +02:00 committed by Daniel Calviño Sánchez
parent 0009adae80
commit 2e3517eb00
1 changed files with 12 additions and 1 deletions

View File

@ -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}',