{% url 'tournament-admin-home' tournament_slug=tournament.slug as admin_url %}
{% url 'tournament-assistant-home' tournament_slug=tournament.slug as assistant_url %}
{% url 'tournament-public-index' tournament_slug=tournament.slug as public_url %}
{% if user.is_authenticated %}
{% if user.is_superuser %}{% blocktrans trimmed asvar text with tn=tournament.name %}
Administrator area for {{ tn }}
{% endblocktrans %}
{% include "components/item-action.html" with icon="settings" type=type subtext=subtext url=admin_url %}{% endif %}
{% if user|boleh_membantu:tournament %}
{% blocktrans trimmed asvar text with tn=tournament.name %}
Assistant area for {{ tn }}
{% endblocktrans %}
{% include "components/item-action.html" with icon="pocket" type=type subtext=subtext url=assistant_url %}{% endif %}
{% blocktrans trimmed asvar text with tn=tournament.name %}
Public area for {{ tn }}
{% endblocktrans %}
{% include "components/item-action.html" with icon="globe" type=type subtext=subtext url=public_url %}
{% else %}
{% include "components/item-action.html" with text=tournament.name icon="award" url=public_url%}
{% endif %}