diff --git a/frontend/src/components/misc/Icon.ts b/frontend/src/components/misc/Icon.ts index 6a8b45093..4e185f849 100644 --- a/frontend/src/components/misc/Icon.ts +++ b/frontend/src/components/misc/Icon.ts @@ -24,6 +24,8 @@ import { faCocktail, faCoffee, faCog, + faCopy, + faDownload, faEllipsisH, faEllipsisV, faExclamation, @@ -130,6 +132,8 @@ library.add(faCocktail) library.add(faCoffee) library.add(faCog) library.add(faComments) +library.add(faCopy) +library.add(faDownload) library.add(faEllipsisH) library.add(faEllipsisV) library.add(faExclamation) diff --git a/frontend/src/components/tasks/partials/attachments.vue b/frontend/src/components/tasks/partials/attachments.vue index b2eb9b0f6..999015144 100644 --- a/frontend/src/components/tasks/partials/attachments.vue +++ b/frontend/src/components/tasks/partials/attachments.vue @@ -77,14 +77,14 @@ class="attachment-info-meta-button" @click.prevent.stop="downloadAttachment(a)" > - {{ $t('misc.download') }} + - {{ $t('task.attachment.copyUrl') }} + - {{ $t('misc.delete') }} + - {{ - task.coverImageAttachmentId === a.id - ? $t('task.attachment.unsetAsCover') - : $t('task.attachment.setAsCover') - }} +

@@ -425,6 +421,7 @@ async function setCoverImage(attachment: IAttachment | null) { .attachment-info-meta-button { color: var(--link); + padding: 0 .25rem; } @keyframes bounce {