Fixes bug in follow from user page
This commit is contained in:
@ -26,7 +26,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<a href="{{ follower.actor }}">{{ follower.username }}</a>
|
<a href="{{ follower.actor }}">{{ follower.username }}</a>
|
||||||
{% if not request.user in follower.followers.all %}
|
{% if not request.user in follower.followers.all %}
|
||||||
{% include 'snippets/follow_button.html' with user=user %}
|
{% include 'snippets/follow_button.html' with user=follower %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Reference in New Issue
Block a user