From 1a73801f52b78178a2765f4ae7bccd1d21120b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 5 Mar 2012 14:08:35 +0100 Subject: [PATCH] Better structure for upload/download --- html/translation.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/html/translation.html b/html/translation.html index 56035e9c1..efc3eb280 100644 --- a/html/translation.html +++ b/html/translation.html @@ -23,17 +23,21 @@ {% endif %} {% endwith %} -

{% trans "Download and upload" %}

+

{% trans "Download" %}

-{% trans "Download" %} +{% with object.get_download_url as download_url %} +

{% blocktrans %}You can download file for offline translation.{% endblocktrans %}

+{% endwith %} {% if user.is_authenticated %} +

{% trans "Upload" %}

+ +

{% trans "Uploaded file will be merged with current translation. In case you want to overwrite already translated strings, don't forget to enable it." %}

+
{% csrf_token %} - -{{ form.as_table }} - -
+{{ form.as_p }} +

{% endif %}