|
|
@ -40,9 +40,19 @@ const copyUrl = async () => { |
|
|
|
<div class="overflow-hidden whitespace-nowrap text-gray-500">{{ url }}</div> |
|
|
|
<div class="overflow-hidden whitespace-nowrap text-gray-500">{{ url }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex flex-row gap-x-1"> |
|
|
|
<div class="flex flex-row gap-x-1"> |
|
|
|
|
|
|
|
<NcTooltip> |
|
|
|
|
|
|
|
<template #title> |
|
|
|
|
|
|
|
{{ $t('activity.openInANewTab') }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<div class="button" @click="openUrl"> |
|
|
|
<div class="button" @click="openUrl"> |
|
|
|
<RiExternalLinkLine class="h-3.75" /> |
|
|
|
<RiExternalLinkLine class="h-3.75" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
|
|
|
|
<NcTooltip> |
|
|
|
|
|
|
|
<template #title> |
|
|
|
|
|
|
|
{{ $t('activity.copyIFrameCode') }} |
|
|
|
|
|
|
|
</template> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="button" |
|
|
|
class="button" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
@ -52,6 +62,7 @@ const copyUrl = async () => { |
|
|
|
> |
|
|
|
> |
|
|
|
<MdiCodeTags class="h-4" /> |
|
|
|
<MdiCodeTags class="h-4" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
<div class="button" data-testid="docs-share-page-copy-link" @click="copyUrl"> |
|
|
|
<div class="button" data-testid="docs-share-page-copy-link" @click="copyUrl"> |
|
|
|
<MdiCheck v-if="isCopied.link" class="h-3.5" /> |
|
|
|
<MdiCheck v-if="isCopied.link" class="h-3.5" /> |
|
|
|
<MdiContentCopy v-else class="h-3.5" /> |
|
|
|
<MdiContentCopy v-else class="h-3.5" /> |
|
|
|