forked from mirrors/bookwyrm
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