diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-10 12:53:14 +0100 |
---|---|---|
committer | npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> | 2020-12-10 15:15:20 +0000 |
commit | 0c7cc95b4ec3a7ceba3f5067bd03b0d87ecfd0cd (patch) | |
tree | f6d5da1871d59339c05a8e06140d25c7043e4eb6 /apps/files_sharing/src | |
parent | 27fdc6575d71a039db75164842263a1ed864ca47 (diff) | |
download | nextcloud-server-0c7cc95b4ec3a7ceba3f5067bd03b0d87ecfd0cd.tar.gz nextcloud-server-0c7cc95b4ec3a7ceba3f5067bd03b0d87ecfd0cd.zip |
Show email address for shares that were created by other users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 9787319f5da..73b7ea073c3 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -410,6 +410,12 @@ export default { // if we have a valid existing share (not pending) if (this.share && this.share.id) { if (!this.isShareOwner && this.share.ownerDisplayName) { + if (this.isEmailShareType) { + return t('files_sharing', '{shareWith} by {initiator}', { + shareWith: this.share.shareWith, + initiator: this.share.ownerDisplayName, + }) + } return t('files_sharing', 'Shared via link by {initiator}', { initiator: this.share.ownerDisplayName, }) |