aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_thread.html
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-18 15:11:59 +0000
committerubq323 <ubq323>2021-07-18 15:11:59 +0000
commit0ff607c6aba0bde59f63e7e4d737b1eca4977c7d (patch)
treec322299799b12b947e379a737beb93ed68bed6fa /apioforum/templates/view_thread.html
parent183061d9a17e3613db2063ccd291af3fac904f11 (diff)
parent2d92be0e223a8b54749d0b2d304a78b16b92000d (diff)
this was a particularly horrible merge conflict but i think it all works now
Diffstat (limited to 'apioforum/templates/view_thread.html')
-rw-r--r--apioforum/templates/view_thread.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html
index d4a43ef..29914e8 100644
--- a/apioforum/templates/view_thread.html
+++ b/apioforum/templates/view_thread.html
@@ -1,4 +1,4 @@
-{% from 'common.html' import disp_post,tag,thread_breadcrumb %}
+{% from 'common.html' import disp_post,tag,thread_breadcrumb,vote_meter %}
{% extends 'base.html' %}
{% block header %}
<h1>{%block title %}{{thread.title}}{% endblock %}</h1>
@@ -8,11 +8,12 @@
{%block content%}
{% if poll %}
<p>{{poll.title}}</p>
-<ul>
+<ol>
{%for opt in poll.options%}
- <li>#{{opt.option_idx}} - {{opt.text}} - {{opt.num or 0}}</li>
+ <li value="{{opt.option_idx}}"><i>{{opt.text}}</i>: {{opt.num or 0}} votes</li>
{%endfor%}
-</ul>
+</ol>
+{{ vote_meter(poll) }}
{% endif %}
<div class="thread-top-bar">
<span class="thread-top-bar-a">