diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-03-27 17:06:03 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-03-27 17:06:03 +0000 |
| commit | 95729368a48257b110ea33dfb005785f8ed6734f (patch) | |
| tree | 8b99b375a4b4a2e121a9192910af15485ea2b7c3 /papillon/templates/main.html | |
| parent | 8ded76ae513b38d14773449e46543b54cf48ef49 (diff) | |
| download | Papillon-95729368a48257b110ea33dfb005785f8ed6734f.tar.bz2 Papillon-95729368a48257b110ea33dfb005785f8ed6734f.zip | |
Rearrange directories - include documentation
Diffstat (limited to 'papillon/templates/main.html')
| -rw-r--r-- | papillon/templates/main.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/papillon/templates/main.html b/papillon/templates/main.html new file mode 100644 index 0000000..8a09830 --- /dev/null +++ b/papillon/templates/main.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +{% if error %}<p class='error'>{{error}}</p>{%endif%} +<h2><a href='create'>{%trans "Create a poll"%}</a></h2> +<p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} <a href='create'>{% trans "It's here!" %}</a></p> + +{% if polls %}<h2>{%trans "Public polls"%}</h2>{%endif%} +{% for poll in polls %} +<div class='poll-description'> + <p><a href='poll/{{poll.base_url}}'>{{poll.name}}</a></p> + <p>{{poll.description}}</p> +</div> +{% endfor %} + +{% if categories %}<h2>{%trans "Categories"%}</h2>{% endif %} +{% for category in categories %} +<h3><a href='category/{{category.id}}'>{{category.name}}</a></h3> +{% endfor %} + +{% endblock %} |
