forked from rDrama/rDrama
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4914784#context
parent
7623fffb62
commit
09ae8227ea
|
@ -18,7 +18,11 @@
|
||||||
<td>{% include "user_in_table.html" %}</td>
|
<td>{% include "user_in_table.html" %}</td>
|
||||||
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
|
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
|
||||||
{% if v.id == u.id %}
|
{% 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 %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<thead class="bg-primary text-white">
|
<thead class="bg-primary text-white">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
<th class="disable-sort-click">Following since</td>
|
||||||
{% if v.id == u.id %}
|
{% if v.id == u.id %}
|
||||||
<th class="disable-sort-click"></th>
|
<th class="disable-sort-click"></th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -15,8 +16,13 @@
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{% include "user_in_table.html" %}</td>
|
<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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue