summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryInternal.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryInternal.vue')
-rw-r--r--apps/files_sharing/src/components/SharingEntryInternal.vue13
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() {