diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-05 00:16:29 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-05 00:16:29 +0000 |
| commit | aedea8f1939ae9f894670b461abea9bea1be092e (patch) | |
| tree | d65caa6dd02ca3a0ecb9db5377f64db861f6d684 /templates/main.html | |
| parent | 34298e230277a8cc7a1a67f7e23e01768668142d (diff) | |
| download | Papillon-aedea8f1939ae9f894670b461abea9bea1be092e.tar.bz2 Papillon-aedea8f1939ae9f894670b461abea9bea1be092e.zip | |
Public votes - Polls categories
Diffstat (limited to 'templates/main.html')
| -rw-r--r-- | templates/main.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/main.html b/templates/main.html index 05c8b95..59adba7 100644 --- a/templates/main.html +++ b/templates/main.html @@ -3,7 +3,17 @@ {% block content %} {% if error %}<p class='error'>{{error}}</p>{%endif%} -<h2><a href='edit/0'>{% trans "Create a poll" %}</a></h2> +<h2><a href='edit/0'>{%trans "Create a poll"%}</a></h2> <p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %}</p> +{% if polls %}<h2>{%trans "Polls"%}</h2>{%endif%} +{% for poll in polls %} +<p><a href='poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p> +{% endfor %} + +{% if categories %}<h2>{%trans "Categories"%}</h2>{% endif %} +{% for category in categories %} +<h3><a href='category/{{category.id}}'>{{category.name}}</a></h3> +{% endfor %} + {% endblock %} |
