2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-23 05:43:41 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/intercooler/follow.html
2018-08-31 15:55:05 -04:00

23 lines
922 B
HTML

{% if relationship.requested %}
<a class="level-item fa fa-hourglass" title="cancel request"
href="{% url 'follow' user.id %}"
ic-post-to="{% url 'follow' user.id %}"
ic-indicator="#user-spinner" ic-replace-target="true">
<span class="is-hidden">Cancel request</span>
</a>
{% elif not relationship.following %}
<a class="level-item fa fa-user-plus" title="follow"
href="{% url 'follow' user.id %}"
ic-post-to="{% url 'follow' user.id %}"
ic-indicator="#user-spinner" ic-replace-target="true">
<span class="is-hidden">Follow</span>
</a>
{% else %}
<a class="level-item fa fa-user-times" title="unfollow"
href="{% url 'follow' user.id %}"
ic-post-to="{% url 'follow' user.id %}"
ic-indicator="#user-spinner" ic-replace-target="true">
<span class="is-hidden">Unfollow</span>
</a>
{% endif %}