2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-27 07:42:24 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/intercooler/follow.html

23 lines
922 B
HTML
Raw Normal View History

2018-08-31 21:55:05 +02:00
{% 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 %}