diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue
index 0dd18c0f..1880e851 100644
--- a/src/components/tasks/partials/attachments.vue
+++ b/src/components/tasks/partials/attachments.vue
@@ -35,7 +35,15 @@
:key="a.id"
@click="viewOrDownload(a)"
>
-
{{ a.file.name }}
+
+ {{ a.file.name }}
+
+ {{ $t('task.attachment.usedAsCover') }}
+
+
@@ -418,5 +426,13 @@ async function setCoverImage(attachment: IAttachment | null) {
}
}
+.is-task-cover {
+ background: var(--primary);
+ color: var(--white);
+ padding: .25rem .35rem;
+ border-radius: 4px;
+ font-size: .75rem;
+}
+
@include modal-transition();
\ No newline at end of file
diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json
index 2a8615b8..780ce3b7 100644
--- a/src/i18n/lang/en.json
+++ b/src/i18n/lang/en.json
@@ -696,7 +696,8 @@
"copyUrlTooltip": "Copy the url of this attachment for usage in text",
"setAsCover": "Make cover",
"unsetAsCover": "Remove cover",
- "successfullyChangedCoverImage": "The cover image was successfully changed."
+ "successfullyChangedCoverImage": "The cover image was successfully changed.",
+ "usedAsCover": "Cover image"
},
"comment": {
"title": "Comments",