From 599c62e4e77aaa4898b9ba690e39b1102ac09a71 Mon Sep 17 00:00:00 2001 From: etienne Date: Sat, 6 Dec 2008 01:21:48 +0000 Subject: Highlight prefered choice - Open/close a poll - Css modification --- templates/createOrEdit.html | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'templates/createOrEdit.html') diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html index 417f7b7..3e88bfe 100644 --- a/templates/createOrEdit.html +++ b/templates/createOrEdit.html @@ -7,7 +7,7 @@ {% endif %}

{% if new %}{% trans "New poll" %}{% else %}{% trans "Edit poll" %}{% endif %}

{% if error %}

{{ error }}

{% endif %} - +
{% if not new %} @@ -88,14 +88,6 @@ - {% if choices %} - - - {% for choice in choices %} - - - {% endfor %}{% endif %} - -{% if new %}
{% trans "Choices" %}{% trans "Label" %}{% trans "Limit" %}{% trans "Delete?"%}
 {%if choice.limit%}{% blocktrans with choice.limit as choice_limit%}Limited to {{choice_limit}} vote(s){% endblocktrans %}{%endif%}
{% if new %} @@ -106,9 +98,24 @@
-{% else %} +{% if not new %} +

{% trans "Choices" %}

+ + {% if choices %} + + + + {% for choice in choices %} + + {% endfor %} + + + + + {% endif %} + -- cgit v1.2.3
{% trans "Choices" %}{% trans "Label" %}{% trans "Limit" %}{% trans "Delete?"%}
 {%if choice.limit%}{% blocktrans with choice.limit as choice_limit%}Limited to {{choice_limit}} vote(s){% endblocktrans %}{%endif%}
+
{%trans "Limited to"%} {%trans "vote(s)"%}{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}