manager: change exports to be downloaded by default (#32778)

This commit is contained in:
Frédéric Péters 2019-05-03 14:54:57 +02:00
parent cbfdbe09ab
commit 25f8065b4c
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<a class="extra-actions-menu-opener"></a>
<a rel="popup" href="{% url 'combo-manager-page-add' %}">{% trans 'New' %}</a>
<ul class="extra-actions-menu">
<li><a href="{% url 'combo-manager-site-export' %}">{% trans 'Export Site' %}</a></li>
<li><a download href="{% url 'combo-manager-site-export' %}">{% trans 'Export Site' %}</a></li>
<li><a href="{% url 'combo-manager-site-import' %}">{% trans 'Import Site' %}</a></li>
{% for extra_action in extra_actions %}
<li><a href="{{ extra_action.href }}">{{ extra_action.text }}</a></li>

View File

@ -8,7 +8,7 @@
<span class="actions">
<a href="{{ object.get_online_url }}">{% trans 'see online' %}</a>
<a href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a>
<a href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a>
<a download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a>
<a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a>
</span>
{% endblock %}