2022-05-04 23:09:46 +00:00
|
|
|
{% extends "default.html" %}
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block pagetitle %}@{{u.username}}'s followers{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block content %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<h5 class="my-3">@{{u.username}}'s followers ({{total}} user{{macros.plural(total)}})</h5>
|
|
|
|
<div class="overflow-x-auto mt-1">
|
2024-02-12 14:18:13 +00:00
|
|
|
<table>
|
|
|
|
<thead>
|
2023-10-29 12:51:00 +00:00
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th class="disable-sort-click">Following since</td>
|
|
|
|
{% if v.id == u.id %}
|
|
|
|
<th class="disable-sort-click"></th>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="followers-table">
|
|
|
|
{% for follow, user in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
|
|
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
|
|
|
|
{% if v.id == u.id %}
|
|
|
|
<td>
|
|
|
|
<div class="btn btn-danger" data-areyousure="removeFollower(this, '{{user.username}}')" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)">
|
|
|
|
Remove follow
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
<script defer src="{{'js/followers.js' | asset}}"></script>
|
2022-09-24 07:04:06 +00:00
|
|
|
{% endblock %}
|
2022-11-27 00:59:16 +00:00
|
|
|
|
|
|
|
{% block pagenav %}
|
2024-03-03 01:25:02 +00:00
|
|
|
{{macros.pagination()}}
|
2022-11-27 00:59:16 +00:00
|
|
|
{% endblock %}
|