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