added Download link to view page

pull/29/head
tycrek 3 years ago
parent 4f4edd935b
commit 07ded8ce8e
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1 +1 @@
Subproject commit 1fcbb40d7673ef16669e03c92811991c06a858f2
Subproject commit 07cf843b2322eb88c408801e6c8e1bb5c0b028e0

@ -38,5 +38,6 @@ html
span Uploaded by #[strong!=uploader]
br
small #{timestamp} (#{size})
#footer: p Image hosted by #[a(href='https://github.com/tycrek/ass' target='_blank'): strong ass], the superior self-hosted ShareX server
br
small: a(href='#' onclick=`window.location = '${resourceAttr.src}?download=yes';` download=title) Download
#footer: p Image hosted by #[a#footer-link(href='https://github.com/tycrek/ass' target='_blank'): strong ass], the superior self-hosted ShareX server

Loading…
Cancel
Save