2022-05-04 23:09:46 +00:00
|
|
|
{% extends "default.html" %}
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block pagetitle %}Users followed by @{{u.username}}{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block content %}
|
2023-09-12 20:33:38 +00:00
|
|
|
<h5 class="my-3">Users followed by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
2023-09-04 18:46:07 +00:00
|
|
|
<th class="disable-sort-click">Following since</td>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% if v.id == u.id %}
|
2023-02-06 02:07:39 +00:00
|
|
|
<th class="disable-sort-click"></th>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="followers-table">
|
2023-09-04 18:48:06 +00:00
|
|
|
{% for follow, user in users %}
|
2022-05-04 23:09:46 +00:00
|
|
|
<tr>
|
2022-09-05 03:01:06 +00:00
|
|
|
<td>{% include "user_in_table.html" %}</td>
|
2023-09-04 18:46:07 +00:00
|
|
|
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% if v.id == u.id %}
|
2023-09-04 18:46:07 +00:00
|
|
|
<td>
|
|
|
|
<div class="btn btn-danger" data-nonce="{{g.nonce}}" data-onclick="removeFollowing(this, '{{user.username}}')">
|
|
|
|
Unfollow
|
|
|
|
</div>
|
|
|
|
</td>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2022-09-24 07:04:06 +00:00
|
|
|
<script defer src="{{'js/following.js' | asset}}"></script>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2022-10-10 04:56:39 +00:00
|
|
|
{% endblock %}
|
2022-11-27 00:59:16 +00:00
|
|
|
|
|
|
|
{% block pagenav %}
|
2023-05-05 06:01:14 +00:00
|
|
|
{% include "pagination.html" %}
|
2022-11-27 00:59:16 +00:00
|
|
|
{% endblock %}
|