{% load friendly_loader %}
{% friendly_load relationship_tags %}
{% if_relationship request.user profile.user "following" %}
{# they are following them, so show a "remove" url #}
{% trans "Unfollow" %}
{% else %}
{# they are not following them, so show a link to start following #}
{% trans "Follow" %}
{% endif_relationship %}
{% if_relationship request.user profile.user "blocking" %}
{# they are blocking them, so show a "remove" url #}
{% trans "Unblock" %}
{% else %}
{# they are not blocking them, so show a link to start blocking #}
{% trans "Block" %}
{% endif_relationship %}