From 18b57522b7dcfe210b627bbc665c000cba53b1ae Mon Sep 17 00:00:00 2001 From: Adrien Dorsaz Date: Tue, 30 Jul 2013 18:43:12 +0200 Subject: Use simple quotes instead of double quotes for url template function --- papillon/templates/base.html | 2 +- papillon/templates/category.html | 2 +- papillon/templates/edit.html | 8 ++++---- papillon/templates/editChoicesAdmin.html | 4 ++-- papillon/templates/editChoicesUser.html | 2 +- papillon/templates/main.html | 6 +++--- papillon/templates/vote.html | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/papillon/templates/base.html b/papillon/templates/base.html index 5bbf64a..16c9f14 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 518b6df..8df695c 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 3bfb856..647700d 100644 --- a/papillon/templates/edit.html +++ b/papillon/templates/edit.html @@ -3,7 +3,7 @@ {% load i18n %} {% block fullscript %} - + {{ form.media }} @@ -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 41663ed..d296a16 100644 --- a/papillon/templates/editChoicesAdmin.html +++ b/papillon/templates/editChoicesAdmin.html @@ -3,7 +3,7 @@ {% load i18n %} {% block fullscript %} - + {{ form_new_choice.media }} @@ -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 de06211..cff888c 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 d946c73..9a3adfb 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 d316646..204f553 100644 --- a/papillon/templates/vote.html +++ b/papillon/templates/vote.html @@ -3,7 +3,7 @@ {% load get_range %} {% block fullscript %} - + {{ form_comment.media }} @@ -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