diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 932f65c20b236..b4549112964ae 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -25,12 +25,13 @@ + {{ title }} @@ -116,11 +117,6 @@ {{ t('files_sharing', 'Added by {initiator}', { initiator: share.ownerDisplayName }) }} diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index 7fe5d5f2e231b..dc76f2198798f 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -10,12 +10,11 @@ - {{ clipboardTooltip }} - + @click.prevent="copyLink" /> @@ -60,18 +59,18 @@ export default { }, /** - * Clipboard v-tooltip message + * Tooltip message * * @return {string} */ - clipboardTooltip() { + copyLinkTooltip() { if (this.copied) { if (this.copySuccess) { return '' } return t('files_sharing', 'Cannot copy, please copy the link manually') } - return t('files_sharing', 'Copy to clipboard') + return t('files_sharing', 'Copy internal link to clipboard') }, internalLinkSubtitle() { diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 524b1279b1846..1d9e2b6e211fe 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -40,11 +40,10 @@ class="sharing-entry__copy"> - {{ clipboardTooltip }} - + @click.stop.prevent="copyLink" /> @@ -74,13 +73,8 @@ @uncheck="onPasswordDisable"> {{ t('files_sharing', 'Password protection') }} +