Skip to content

Commit

Permalink
Add custom handling for room shares to the resharer information
Browse files Browse the repository at this point in the history
Like done with group shares, received room shares are described as such
in the UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu committed Jul 16, 2018
1 parent b621d46 commit 0006684
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/js/sharedialogresharerinfoview.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@
undefined,
{escape: false}
);
} else if (this.model.getReshareType() === OC.Share.SHARE_TYPE_ROOM) {
sharedByText = t(
'core',
'Shared with you and the conversation {conversation} by {owner}',
{
conversation: this.model.getReshareWithDisplayName(),
owner: ownerDisplayName
},
undefined,
{escape: false}
);
} else {
sharedByText = t(
'core',
Expand Down

0 comments on commit 0006684

Please sign in to comment.