]> source.dussan.org Git - gitea.git/commit
Add download button for file viewer (#17640)
authorGusted <williamzijl7@hotmail.com>
Mon, 15 Nov 2021 01:05:12 +0000 (01:05 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Nov 2021 01:05:12 +0000 (09:05 +0800)
commit562785ef4ea8ea4b24da726a4fbf515358ee7084
treee5a2c5454c31e9af91ea1605ebea188c8c1d661f
parent10db864c66a5c7f8829887a28299864a7da22122
Add download button for file viewer (#17640)

- Resolves #17286
- Use the `download` attribute such that the browser will natively
initate a download dialog for the given URL.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
options/locale/locale_en-US.ini
templates/repo/view_file.tmpl