{% load i18n %} {% load interaction %} {% if request.user == user or not request.user.is_authenticated %} {# nothing to see here -- either it's yourself or your logged out #} {% else %} {% get_relationship user as relationship %} {% if relationship.is_blocked %} {% include 'snippets/block_button.html' with blocks=True %} {% else %}