mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
backups: Don't open a new window for downloading backups
Opening a new window is simply unnecessary. Tests: - Clicking the link will result in immediate download in Chrome without navigating away from the page. - Clicking the link will result in download prompt in Firefox without navigating away from the page. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
1cf0748a49
commit
cc8c0cb05d
@ -72,7 +72,7 @@
|
||||
<tr id="archive-{{ archive.name }}" class="archive">
|
||||
<td class="archive-name">{{ archive.name }}</td>
|
||||
<td class="archive-operations">
|
||||
<a class="archive-export btn btn-sm btn-default" target="_blank"
|
||||
<a class="archive-export btn btn-sm btn-default"
|
||||
href="{% url 'backups:download' uuid archive.name %}">
|
||||
{% trans "Download" %}
|
||||
</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user