mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 10:30:32 +00:00
Set link color on follow button
This commit is contained in:
parent
9c994e893b
commit
71133c51c6
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ Follow request already sent.
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="user" value="{{ user.username }}">
|
<input type="hidden" name="user" value="{{ user.username }}">
|
||||||
{% if user.manually_approves_followers %}
|
{% if user.manually_approves_followers %}
|
||||||
<button class="button is-small is-primary" type="submit">Send follow request</button>
|
<button class="button is-small is-link" type="submit">Send follow request</button>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button class="button is-small is-primary" type="submit">Follow</button>
|
<button class="button is-small is-link" type="submit">Follow</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
<form action="/unfollow/" method="POST" onsubmit="interact(event)" class="follow-{{ user.id }} {% if not request.user in user.followers.all %}hidden{%endif %}" data-id="follow-{{ user.id }}">
|
<form action="/unfollow/" method="POST" onsubmit="interact(event)" class="follow-{{ user.id }} {% if not request.user in user.followers.all %}hidden{%endif %}" data-id="follow-{{ user.id }}">
|
||||||
|
|
Loading…
Reference in a new issue