Cleans up display of follow/block/unfollow/unblock buttons

This commit is contained in:
Mouse Reeve
2021-02-23 12:10:54 -08:00
parent 27d81306e3
commit a617302006
2 changed files with 24 additions and 22 deletions

View File

@ -43,14 +43,7 @@
</div>
</div>
{% if not is_self and request.user.is_authenticated %}
<div class="field has-addons">
<div class="control">
{% include 'snippets/follow_button.html' with user=user %}
</div>
<div class="control">
{% include 'snippets/user_options.html' with user=user class="is-small" %}
</div>
</div>
{% include 'snippets/follow_button.html' with user=user %}
{% endif %}
{% if is_self and user.follower_requests.all %}