forked from rDrama/rDrama
fix
parent
c434de0992
commit
4c80f031f4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue