{% extends "cciw/forums/thread.html" %} {% load standardpage %} {% load forums %} {% block thread_top %} {{ introtext }} {% if news_item %}
Posted: {{ news_item.created_at|date:"d M Y, h:i" }}, by {% memberlink %}{{ news_item.created_by_id }}{% endmemberlink %}
{% if news_item.full_item %} {{ news_item.full_item|standard_subs }} {% else %} {{ news_item.summary|bb2html }} {% endif %}
{% endif %} {% if poll %} {% if show_poll_results %}

{{ poll.title }}

{{ poll.intro_text|bb2html }}

Results:

{% for polloption in poll.poll_options.all %} {% endfor %}
{{ polloption.text|bb2html }} {{ polloption.total }} votes    {{ polloption.percentage }}
{{ poll.outro_text|bb2html }}

{% endif %} {% if voting_errors %}
Vote could not be registered:
{% endif %} {% if voting_message %}

{{ voting_message|escape }}

{% endif %} {% if show_vote_box %} {% poll_vote_box request topic poll 2 %} {% else %} {% if allow_voting_box %}
Show the voting form:
{% endif %} {% endif %} {% if poll.can_anyone_vote %}

Voting starts: {{ poll.voting_starts|date:"d M Y, h:i" }}
Voting ends: {{ poll.voting_ends|date:"d M Y, h:i" }}
Rules: {{ poll.verbose_rules }}

{% else %}

Voting closed.

{% endif %} {% if current_member %} {% if current_member.can_add_poll %} {% ifequal current_member poll.created_by %}
» Edit poll {% endifequal %} {% endif %} {% endif %} {% endif %} {% endblock %}