sneed
This commit is contained in:
parent
cb40386aed
commit
4024ef5a54
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% if v and v.id == u.id %}
|
{% if v and v.id == u.id %}
|
||||||
<a href="/settings/profile" class="btn btn-secondary btn-sm">Edit profile</a>
|
<a href="/settings/profile" class="btn btn-secondary btn-sm">Edit profile</a>
|
||||||
<a href="/views" class="btn btn-secondary">Profile views</a>
|
<a href="/views" class="btn btn-secondary btn-sm">Profile views</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if v and v.id != u.id %}
|
{% if v and v.id != u.id %}
|
||||||
<a id="button-unsub2" class="btn btn-secondary {% if not is_following %}d-none{% endif %}" href="javascript:void(0)" onclick="post('/api/unfollow/{{u.username}}', callback=function(){document.getElementById('button-unsub2').classList.toggle('d-none');document.getElementById('button-sub2').classList.toggle('d-none');})">Unfollow</a>
|
<a id="button-unsub2" class="btn btn-secondary {% if not is_following %}d-none{% endif %}" href="javascript:void(0)" onclick="post('/api/unfollow/{{u.username}}', callback=function(){document.getElementById('button-unsub2').classList.toggle('d-none');document.getElementById('button-sub2').classList.toggle('d-none');})">Unfollow</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue