forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-01 17:30:17 -06:00
parent c434de0992
commit 4c80f031f4
1 changed files with 15 additions and 17 deletions

View File

@ -18,18 +18,16 @@
<button class="btn btn-green" onclick="post_toast2('/follow/{{u.username}}','button-sub-{{u.id}}','button-unsub-{{u.id}}')">Follow
</button>
</div>
{% if u.id != 995 %}
<div id="button-unsub-{{u.id}}" style="z-index: 2" class="{% if not u.has_follower(v) %} d-none{% endif %}">
<button class="btn btn-gray" onclick="post_toast2('/unfollow/{{u.username}}','button-sub-{{u.id}}','button-unsub-{{u.id}}')">Unfollow
</button
</button>
</div>
{% endif %}
{% endif %}
{% else %}
<div id="button-sub-{{u.id}}" style="z-index: 2">
<a class="btn btn-primary " href="/signup?redirect={{request.path}}">Follow
</a>
<a class="btn btn-green " href="/signup?redirect={{request.path}}">Follow</a>
</div>
{% endif %}
</div>