Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7408d42

Browse files
author
Filip Hric
committed
add download button
1 parent275a42d commit7408d42

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎src/assets/icons/download.svg‎

Lines changed: 1 addition & 0 deletions
Loading

‎src/components/card/CardDetail.vue‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@
154154
</div>
155155
<divclass="col-span-4 font-bold">
156156
{{ activeCard.image.replace(`/data/uploaded/${activeCard.id}_`, '') }}
157+
<a
158+
class="block font-normal underline cursor-pointer"
159+
data-cy="image-delete"
160+
:href="'/backend' + activeCard.image"
161+
download
162+
>
163+
<Downloadclass="inline-block mb-1 w-4" />Download
164+
</a>
157165
<div
158166
class="block font-normal underline cursor-pointer"
159167
data-cy="image-delete"
@@ -222,6 +230,7 @@ import Checkbox from '@/components/Checkbox.vue';
222230
importClockfrom'@/assets/icons/clock.svg';
223231
importCopyfrom'@/assets/icons/copy.svg';
224232
importCrossfrom'@/assets/icons/cross.svg';
233+
importDownloadfrom'@/assets/icons/download.svg';
225234
importDescriptionfrom'@/assets/icons/description.svg';
226235
importDownarrowfrom'@/assets/icons/downarrow.svg';
227236
importDropzonefrom'../Dropzone.vue';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp