1
0
Fork 0

Merge pull request #636 from mouse-reeve/follow-block-button

Cleans up display of follow/block/unfollow/unblock buttons
This commit is contained in:
Mouse Reeve 2021-02-23 13:38:02 -08:00 committed by GitHub
commit fdbd3688f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 63 additions and 64 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 %}