mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Don't display follow button for yourself.
This commit is contained in:
parent
ffe81291ad
commit
7b2063a0c5
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
{% if request.user in user.follower_requests.all %}
|
{% if request.user == user %}
|
||||||
|
{% elif request.user in user.follower_requests.all %}
|
||||||
<div>
|
<div>
|
||||||
Follow request already sent.
|
Follow request already sent.
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue