Merge branch 'follow_requuest_button' of https://github.com/cthulahoops/fedireads into cthulahoops-follow_requuest_button

This commit is contained in:
Mouse Reeve 2020-03-17 12:37:26 -07:00
commit 4442232096

View file

@ -7,7 +7,11 @@ Follow request already sent.
<form action="/follow/" method="post"> <form action="/follow/" method="post">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}"></input> <input type="hidden" name="user" value="{{ user.username }}"></input>
{% if user.manually_approves_followers %}
<button type="submit">Send follow request</button>
{% else %}
<button type="submit">Follow</button> <button type="submit">Follow</button>
{% endif %}
</form> </form>
{% else %} {% else %}
<form action="/unfollow/" method="post"> <form action="/unfollow/" method="post">