forked from rDrama/rDrama
1
0
Fork 0
Aevann 2023-09-04 21:46:07 +03:00
parent 7623fffb62
commit 09ae8227ea
2 changed files with 12 additions and 2 deletions

View File

@ -18,7 +18,11 @@
<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>
<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 %}

View File

@ -6,6 +6,7 @@
<thead class="bg-primary text-white">
<tr>
<th>Name</th>
<th class="disable-sort-click">Following since</td>
{% if v.id == u.id %}
<th class="disable-sort-click"></th>
{% endif %}
@ -15,8 +16,13 @@
{% for 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-nonce="{{g.nonce}}" data-onclick="removeFollowing(this, '{{user.username}}')">Unfollow</div></td>
<td>
<div class="btn btn-danger" data-nonce="{{g.nonce}}" data-onclick="removeFollowing(this, '{{user.username}}')">
Unfollow
</div>
</td>
{% endif %}
</tr>
{% endfor %}