{% load i18n %} {% load mastodon %} {% current_user_relationship identity as relationship %} {% if relationship.rejecting %} {% trans "blocked" %} {% else %} {% if relationship.status %} {{ relationship.status }} {% else %}   {% endif %} {% if show_home %} {% endif %} {% if identity.locked %} {% endif %} {% if not identity.local %} {% else %} {% if identity.user.is_superuser %} {% elif identity.user.is_staff %} {% endif %} {% if identity.user.mastodon_account %} {% if not identity.locked or request.user.is_superuser or relationship.requested or relationship.status %} {% endif %} {% endif %} {% endif %} {% if relationship.requested %} {% endif %} {% if relationship.following %} {% elif relationship.requesting %} {% else %} {% endif %} {% if not relationship.muting %} {% else %} {% endif %} {% endif %}