Mercurial > public > sg101
comparison gpp/templates/polls/poll_detail.html @ 448:f55d7f08632f
Template touch-up for #219.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 25 Jun 2011 23:31:22 +0000 |
parents | 8f46ba2f1b81 |
children | cb33b90d5596 |
comparison
equal
deleted
inserted
replaced
447:8f46ba2f1b81 | 448:f55d7f08632f |
---|---|
42 {% endif %} | 42 {% endif %} |
43 </p> | 43 </p> |
44 | 44 |
45 <p class="poll-nav"> | 45 <p class="poll-nav"> |
46 {% if poll.is_open and user.is_authenticated %} | 46 {% if poll.is_open and user.is_authenticated %} |
47 <a href="{% url 'polls-vote' poll_id=poll.id %}">Vote</a> | 47 <a href="{% url 'polls-vote' poll_id=poll.id %}">Vote</a> | |
48 {% endif %} | 48 {% endif %} |
49 | <a href="{% url 'polls-main' %}">All Polls</a> | 49 <a href="{% url 'polls-main' %}">All Polls</a> |
50 </p> | 50 </p> |
51 | 51 |
52 {% get_comment_count for poll as comment_count %} | 52 {% get_comment_count for poll as comment_count %} |
53 <p>This poll has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> | 53 <p>This poll has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> |
54 <hr /> | 54 <hr /> |