MarseyWorld/files/templates/userpage/blockers.html

29 lines
776 B
HTML

{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s blockers{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s blockers ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>Name</th>
<th class="disable-sort-click">Blocking since</td>
</tr>
</thead>
<tbody id="blockers-table">
{% for block, user in users %}
<tr>
<td>{% include "user_in_table.html" %}</td>
<td {% if block.created_utc > 1599343262 %}data-time="{{block.created_utc}}"{% endif %}></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block pagenav %}
{% include "pagination.html" %}
{% endblock %}
({{total}} user{{macros.plural(total)}})