2023-09-08 17:07:38 +00:00
|
|
|
{% extends "settings2.html" %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block pagetitle %}Blocks{% endblock %}
|
|
|
|
{% block content %}
|
2023-01-22 23:37:32 +00:00
|
|
|
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Blocks</span></h5>
|
2022-10-29 00:38:39 +00:00
|
|
|
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
|
2022-05-04 23:09:46 +00:00
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>User</th>
|
|
|
|
<th>Target</th>
|
2023-08-11 13:13:53 +00:00
|
|
|
<th>Blocked on</th>
|
2022-05-04 23:09:46 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2023-08-11 13:07:24 +00:00
|
|
|
{% for block in blocks %}
|
2022-05-04 23:09:46 +00:00
|
|
|
<tr>
|
2023-08-11 13:07:24 +00:00
|
|
|
<td>
|
|
|
|
{% with user = block.user %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% with user = block.target %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
2023-08-11 13:13:53 +00:00
|
|
|
<td data-time="{{block.created_utc}}"></td>
|
2022-05-04 23:09:46 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|