forked from rDrama/rDrama
fix
parent
81222599d7
commit
7e30bec9b4
|
@ -105,33 +105,33 @@
|
|||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if v and v.id != u.id %}
|
||||
<ul class="flex flex-wrap space-x-2 items-center mb-0">
|
||||
<li>
|
||||
{% include '/dropdowns/ProfileDropdown.html' %}
|
||||
</li>
|
||||
<li>
|
||||
<button class="btn btn-gray" onclick="toggleElement('profile-toggleable-mobile', 'message-mobile')">
|
||||
<i class="fas fa-paper-plane fa-sm fa-fw md:mr-1"></i>
|
||||
<span class="hidden md:inline-block">Message</span>
|
||||
</button >
|
||||
</li>
|
||||
{% if u.id != 995 %}
|
||||
<li id="button-unsub2" class="{% if not is_following %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/unfollow/{{u.username}}','button-unsub2','button-sub2')">
|
||||
<i class="fas fa-heart-broken fa-sm fa-fw mr-1"></i>
|
||||
Unfollow
|
||||
</button>
|
||||
</li>
|
||||
{% if v and v.id != u.id %}
|
||||
<li>
|
||||
<button class="btn btn-gray" onclick="toggleElement('profile-toggleable-mobile', 'message-mobile')">
|
||||
<i class="fas fa-paper-plane fa-sm fa-fw md:mr-1"></i>
|
||||
<span class="hidden md:inline-block">Message</span>
|
||||
</button >
|
||||
</li>
|
||||
{% if u.id != 995 %}
|
||||
<li id="button-unsub2" class="{% if not is_following %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/unfollow/{{u.username}}','button-unsub2','button-sub2')">
|
||||
<i class="fas fa-heart-broken fa-sm fa-fw mr-1"></i>
|
||||
Unfollow
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li id="button-sub2" class="{% if is_following or u.is_nofollow or u.is_blocked %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/follow/{{u.username}}','button-unsub2','button-sub2')">
|
||||
<i class="far fa-heart fa-sm fa-fw mr-1"></i>
|
||||
Follow
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li id="button-sub2" class="{% if is_following or u.is_nofollow or u.is_blocked %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/follow/{{u.username}}','button-unsub2','button-sub2')">
|
||||
<i class="far fa-heart fa-sm fa-fw mr-1"></i>
|
||||
Follow
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative col-span-full flex xl:hidden flex-col">
|
||||
|
|
Loading…
Reference in New Issue