2022-07-02 06:48:04 +00:00
|
|
|
{% extends "default.html" %}
|
2022-11-19 22:20:38 +00:00
|
|
|
{% block pagetitle %}Poll Votes{% endblock %}
|
2022-12-14 17:28:31 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
{% block content %}
|
|
|
|
{% if option %}
|
|
|
|
<h3 class="mt-5">{{option.body_html | safe}} - {{ups | length}} {% if option.exclusive == 2 %}bets{% else %}votes{% endif %}</h3>
|
2022-12-14 17:28:31 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
<p><b>Link:</b> <a href="{{option.parent.permalink}}">{{option.parent.permalink}}</a></p>
|
|
|
|
<p><b>Author:</b> <a href="{{option.parent.author.url}}">@{{option.parent.author_name}}</a></p>
|
|
|
|
<p><b>Author Created At:</b> <span data-time="{{option.parent.author.created_utc}}"></span></p>
|
|
|
|
<p><b>Author Truescore:</b> {{"{:,}".format(option.parent.author.truescore)}}</p>
|
|
|
|
<p><b>Total voter truescore: </b>{{total_ts}}</p>
|
|
|
|
{% if total_patrons != None %}
|
|
|
|
<p><b>Total {{patron}}s: </b>{{total_patrons}} | ${{total_money}}</p>
|
|
|
|
{% endif %}
|
2022-07-02 06:48:04 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
<div class="overflow-x-auto mt-5">
|
2024-02-12 14:18:13 +00:00
|
|
|
<table>
|
|
|
|
<thead>
|
2023-10-29 12:51:00 +00:00
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>User</th>
|
|
|
|
<th>User Truescore</th>
|
|
|
|
<th>Vote Time</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2022-12-10 10:40:34 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
{% for vote in ups %}
|
|
|
|
<tr>
|
|
|
|
<td>{{loop.index}}</td>
|
|
|
|
<td>
|
|
|
|
{% with user=vote.user %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td>{{"{:,}".format(vote.user.truescore)}}</td>
|
|
|
|
<td data-time="{{vote.created_utc}}"></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2022-10-29 00:38:39 +00:00
|
|
|
{% endblock %}
|