[add] download database if sqlite is on

This commit is contained in:
Nicolas Lœuillet
2013-12-12 09:42:19 +01:00
parent 9e7c840b18
commit d460914f65
3 changed files with 28 additions and 0 deletions

View File

@ -109,5 +109,7 @@
</ul>
<h2>{% trans "Export your poche datas" %}</h2>
{% if constant('STORAGE') == 'sqlite' %}
<p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %}
<p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
{% endblock %}