diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-10-07 13:32:16 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-14 13:14:59 +0300 |
commit | 102402bfcbad8a0c1730b4d88172bcee28c50df7 (patch) | |
tree | 65893ae342b53f7529d70ea10548c5b62ccae5e2 /apps/files_sharing/src/components | |
parent | 131fcac91ed0468d6564eb268c85b6665e06f330 (diff) |
Show unique displayname context in the user share list entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src/components')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 5 | ||||
-rw-r--r-- | apps/files_sharing/src/components/SharingEntrySimple.vue | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 407221037dc..c66dfc5c802 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -33,7 +33,7 @@ :href="share.shareWithLink" v-tooltip.auto="tooltip" class="sharing-entry__desc"> - <h5>{{ title }}</h5> + <h5>{{ title }}<span v-if="!isUnique" class="sharing-entry__desc-unique"> ({{ share.shareWithDisplayNameUnique }})</span></h5> <p v-if="hasStatus"> <span>{{ share.status.icon || '' }}</span> <span>{{ share.status.message || '' }}</span> @@ -402,6 +402,9 @@ export default { p { color: var(--color-text-maxcontrast); } + &-unique { + color: var(--color-text-maxcontrast); + } } &__actions { margin-left: auto; diff --git a/apps/files_sharing/src/components/SharingEntrySimple.vue b/apps/files_sharing/src/components/SharingEntrySimple.vue index 5cdce17bf0c..de545a497a8 100644 --- a/apps/files_sharing/src/components/SharingEntrySimple.vue +++ b/apps/files_sharing/src/components/SharingEntrySimple.vue @@ -64,6 +64,10 @@ export default { type: String, default: '', }, + isUnique: { + type: Boolean, + default: true, + }, }, } |