From 6a42acaa114548e052f5cd9c5835b4c2354d5e9d Mon Sep 17 00:00:00 2001 From: Adrien Dorsaz Date: Tue, 30 Jul 2013 14:07:05 +0200 Subject: Update url function in templates to django 1.5 --- papillon/templates/base.html | 2 +- papillon/templates/category.html | 2 +- papillon/templates/edit.html | 6 +++--- papillon/templates/editChoicesAdmin.html | 2 +- papillon/templates/editChoicesUser.html | 2 +- papillon/templates/main.html | 6 +++--- papillon/templates/vote.html | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/papillon/templates/base.html b/papillon/templates/base.html index df72339..5bbf64a 100644 --- a/papillon/templates/base.html +++ b/papillon/templates/base.html @@ -13,7 +13,7 @@ {% for language in languages%}{{language.1}}{% endfor %}
-

Papillon

+

Papillon

{% block content %}{% endblock %} diff --git a/papillon/templates/category.html b/papillon/templates/category.html index f38743a..518b6df 100644 --- a/papillon/templates/category.html +++ b/papillon/templates/category.html @@ -8,7 +8,7 @@ {% if polls %}

{%trans "Polls"%}

{%endif%} {% for poll in polls %}
-

{{poll.name}}

+

{{poll.name}}

{{poll.description|safe}}

{% endfor %} diff --git a/papillon/templates/edit.html b/papillon/templates/edit.html index 2f77a7e..9e470c6 100644 --- a/papillon/templates/edit.html +++ b/papillon/templates/edit.html @@ -16,7 +16,7 @@ -{{ base_url }} +{{ base_url }}

{% trans "Copy this address and send it to voters who want to participate to this poll" %} @@ -25,7 +25,7 @@ -{{ edit_url }} +{{ edit_url }}

{% trans "Address to modify the current poll" %} @@ -34,7 +34,7 @@ -{{choices_url }} +{{choices_url }}

{% trans "Address to modify choices of the current poll." %} diff --git a/papillon/templates/editChoicesAdmin.html b/papillon/templates/editChoicesAdmin.html index 6510dcc..fdecdf0 100644 --- a/papillon/templates/editChoicesAdmin.html +++ b/papillon/templates/editChoicesAdmin.html @@ -14,7 +14,7 @@ {% blocktrans %}As long as no options were added to the poll, it will not be available.{% endblocktrans %}

{% else %}

{% trans "Complete/Finalise the poll" %}

-

+

{% endif %} {% include 'editChoices.html' %} {% if choices %} diff --git a/papillon/templates/editChoicesUser.html b/papillon/templates/editChoicesUser.html index 47d6a52..de06211 100644 --- a/papillon/templates/editChoicesUser.html +++ b/papillon/templates/editChoicesUser.html @@ -10,7 +10,7 @@ {% endblock %} {% block content %} -

{%trans "Return to the poll"%}

+

{%trans "Return to the poll"%}

{% trans "Choices" %}

{% if choices %} diff --git a/papillon/templates/main.html b/papillon/templates/main.html index 696ab47..d946c73 100644 --- a/papillon/templates/main.html +++ b/papillon/templates/main.html @@ -3,21 +3,21 @@ {% block content %} {% if error %}

{{error}}

{%endif%} -

{%trans "Create a poll"%}

+

{%trans "Create a poll"%}

{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} {% trans "It's here!" %}

{% if public %} {% if polls %}

{%trans "Public polls"%}

{%endif%} {% for poll in polls %}
-

{{poll.name}}

+

{{poll.name}}

{{poll.description|safe}}

{% endfor %} {% if categories %}

{%trans "Categories"%}

{% endif %} {% for category in categories %} -

{{category.name}}

+

{{category.name}}

{% endfor %} {% endif %} {% endblock %} diff --git a/papillon/templates/vote.html b/papillon/templates/vote.html index 5c20e5c..5d88af2 100644 --- a/papillon/templates/vote.html +++ b/papillon/templates/vote.html @@ -119,7 +119,7 @@
{%if poll.opened_admin%} -

{%trans "Add a new choice to this poll?"%}

{%endif%} +

{%trans "Add a new choice to this poll?"%}

{%endif%}
{%if hide_vote%}

{% trans "You have already vote? You are enough wise not to be influenced by other votes? You can display result by clicking" %} {% trans "here" %}.

{%else%}

{% trans "Remain informed of poll evolution:" %} {%trans "syndication"%}

{%endif%} -- cgit v1.2.3