diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-12-07 17:29:58 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2023-01-05 08:57:58 +0100 |
commit | 1063fbcb10b8edc9ceb9804f89f762c526f0cfc0 (patch) | |
tree | fb1f4acb201d676ccb640fc5850a40d4e9480e5a /apps/files_sharing/src/components/SharingEntryInternal.vue | |
parent | 18164ae5163496639737757702f59d52c0c9c657 (diff) | |
download | nextcloud-server-1063fbcb10b8edc9ceb9804f89f762c526f0cfc0.tar.gz nextcloud-server-1063fbcb10b8edc9ceb9804f89f762c526f0cfc0.zip |
Replace custom tooltips with native one in vue components and views
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryInternal.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryInternal.vue | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index 7fe5d5f2e23..dc76f219879 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -10,12 +10,11 @@ </template> <NcActionLink :href="internalLink" - :aria-label="t('files_sharing', 'Copy internal link to clipboard')" + :aria-label="copyLinkTooltip" + :title="copyLinkTooltip" target="_blank" :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'" - @click.prevent="copyLink"> - {{ clipboardTooltip }} - </NcActionLink> + @click.prevent="copyLink" /> </SharingEntrySimple> </ul> </template> @@ -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() { |