2021-10-15 14:08:27 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-01-13 23:39:39 +00:00
|
|
|
<title>{{SITE_NAME}}</title>
|
2021-12-27 05:07:19 +00:00
|
|
|
|
2021-10-15 14:08:27 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-12-14 22:48:37 +00:00
|
|
|
|
2021-10-15 14:08:27 +00:00
|
|
|
{% if thing %}
|
2021-12-14 22:48:37 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
<h1>Info</h1>
|
|
|
|
<p><a href="{{thing.permalink}}">{{thing.permalink}}</a></p>
|
|
|
|
<p><b>Author:</b> <a href="{{thing.author.url}}">@{{thing.author.username}}</a></p>
|
2022-01-18 13:20:56 +00:00
|
|
|
<p><b>Author Created At:</b> {{thing.author.created_datetime}}</p>
|
2022-03-09 01:44:53 +00:00
|
|
|
<p><b>Author Truescore:</b> {{thing.author.truecoins}}</p>
|
2021-12-14 22:48:37 +00:00
|
|
|
<p><b>Upvotes: </b>{{ups | length}}</p>
|
|
|
|
<p><b>Downvotes: </b>{{downs | length}}</p>
|
|
|
|
|
|
|
|
<h2>Upvotes</h2>
|
2022-01-03 10:59:29 +00:00
|
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
2021-12-14 22:48:37 +00:00
|
|
|
<thead class="bg-primary text-white"><tr><th>User</th></tr></thead>
|
|
|
|
|
|
|
|
{% for vote in ups %}
|
2022-02-23 05:19:57 +00:00
|
|
|
<tr><td><a style="color:#{{vote.user.namecolor}};font-weight:bold" href="/@{{vote.user.username}}"><img loading="lazy" src="{{vote.user.profile_url}}" class="pp20"><span {% if vote.user.patron %}class="patron" style="background-color:#{{vote.user.namecolor}}"{% endif %}>{{vote.user.username}}</span></a></td></tr>
|
2021-12-14 22:48:37 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Downvotes</h2>
|
2022-01-03 10:59:29 +00:00
|
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
2021-12-14 22:48:37 +00:00
|
|
|
<thead class="bg-primary text-white"><tr><th>User</th></tr></thead>
|
2021-10-15 14:08:27 +00:00
|
|
|
|
2021-12-14 22:48:37 +00:00
|
|
|
{% for vote in downs %}
|
2022-02-24 12:03:28 +00:00
|
|
|
<tr><td><a style="color:#{{vote.user.namecolor}}" href="/@{{vote.user.username}}"><img loading="lazy" src="{{vote.user.profile_url}}" class="pp20"><span {% if vote.user.patron %}class="patron" style="background-color:#{{vote.user.namecolor}}"{% endif %}>{{vote.user.username}}</span></a></td></tr>
|
2021-12-14 22:48:37 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2021-10-15 14:08:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2021-07-30 11:05:20 +00:00
|
|
|
{% endblock %}
|