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-07-02 06:48:04 +00:00
|
|
|
{% block content %}
|
|
|
|
{% if thing %}
|
2022-12-14 17:28:31 +00:00
|
|
|
|
2022-11-05 21:51:09 +00:00
|
|
|
<h3 class="mt-5">{{thing.body_html | safe}} - {{ups | length}} {% if thing.exclusive == 2 %}bets{% else %}votes{% endif %}</h3>
|
2022-12-14 17:28:31 +00:00
|
|
|
|
2023-01-27 13:32:38 +00:00
|
|
|
<p><b>Link:</b> <a href="{{thing.parent.permalink}}">{{thing.parent.permalink}}</a></p>
|
2023-09-23 23:52:17 +00:00
|
|
|
<p><b>Author:</b> <a href="{{thing.parent.author.url}}">@{{thing.parent.author_name}}</a></p>
|
2022-12-19 22:08:13 +00:00
|
|
|
<p><b>Author Created At:</b> <span data-time="{{thing.parent.author.created_utc}}"></span></p>
|
|
|
|
<p><b>Author Truescore:</b> {{"{:,}".format(thing.parent.author.truescore)}}</p>
|
|
|
|
<p><b>Total voter truescore: </b>{{total_ts}}</p>
|
2022-12-14 17:28:31 +00:00
|
|
|
{% if total_patrons %}
|
|
|
|
<p><b>Total patrons: </b>{{total_patrons}}</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2022-07-02 06:48:04 +00:00
|
|
|
<div class="overflow-x-auto mt-5">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
2022-09-13 17:35:33 +00:00
|
|
|
<th>#</th>
|
2022-07-02 06:48:04 +00:00
|
|
|
<th>User</th>
|
2022-12-10 10:40:34 +00:00
|
|
|
<th>User Truescore</th>
|
|
|
|
<th>Vote Time</th>
|
2022-07-02 06:48:04 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
{% for vote in ups %}
|
|
|
|
<tr>
|
2022-09-13 17:35:33 +00:00
|
|
|
<td>{{loop.index}}</td>
|
2022-07-02 06:48:04 +00:00
|
|
|
<td>
|
2022-09-05 03:01:06 +00:00
|
|
|
{% with user=vote.user %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
2022-07-02 06:48:04 +00:00
|
|
|
</td>
|
2022-11-07 07:03:58 +00:00
|
|
|
<td>{{"{:,}".format(vote.user.truescore)}}</td>
|
2022-07-03 07:41:25 +00:00
|
|
|
<td data-time="{{vote.created_utc}}"></td>
|
2022-07-02 06:48:04 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-12-10 10:40:34 +00:00
|
|
|
|
2022-07-02 06:48:04 +00:00
|
|
|
{% endif %}
|
2022-10-29 00:38:39 +00:00
|
|
|
{% endblock %}
|