aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-11-04 12:29:40 +0100
committerprovokateurin <kate@provokateurin.de>2024-11-25 10:27:31 +0100
commitc0db74633ad7a7caab23157c85dff00e7c6ac69d (patch)
tree679ff6ff1eddc91b70e785daea6a92ce439c8aba /apps/files_sharing/src
parent715e7143f042f537ecbc2fcfd936e1996dec1ade (diff)
downloadnextcloud-server-c0db74633ad7a7caab23157c85dff00e7c6ac69d.tar.gz
nextcloud-server-c0db74633ad7a7caab23157c85dff00e7c6ac69d.zip
fix(SharingEntry): Display owner name if the owner is someone else
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/components/SharingEntry.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue
index e97ff332422..7af7354efba 100644
--- a/apps/files_sharing/src/components/SharingEntry.vue
+++ b/apps/files_sharing/src/components/SharingEntry.vue
@@ -78,6 +78,11 @@ export default {
} else if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GUEST) {
title += ` (${t('files_sharing', 'guest')})`
}
+ if (!this.isShareOwner && this.share.ownerDisplayName) {
+ title += ' ' + t('files_sharing', 'by {initiator}', {
+ initiator: this.share.ownerDisplayName,
+ })
+ }
return title
},
tooltip() {