{% load static statici18n i18n debate_tags %} {% get_current_language as LANGUAGE_CODE %} {% if tournament %}{{ tournament.short_name }}{% else %}{% trans "TABMALAYSIA.WIN" %}{% endif %} | {% if page_title %}{{ page_title }}{% else %}{% block page-title %}{% endblock %}{% endif %} {% block noindex %} {% if tournament %} {% if pref.search_engine_indexing != "all" %} {% endif %} {% endif %} {% endblock %} {% block extra-css %}{% endblock %} {% block extra-head %}{% endblock %} {% if not hmr %} {% endif %} {% if LANGUAGE_CODE == 'tzl' %} {% endif %} {% block nav %} {% if user_role == "admin" or request.tdm_workspace %} {% include "components/workspace_header.html" %} {% else %} {% include "nav/top_nav_base.html" %} {% endif %} {% endblock nav %}
{% if user_role == "admin" or request.tdm_workspace %}
{% if tournament %}
Pertandingan Saya / {{ tournament.short_name }}
{% endif %} {% endif %} {% block header %}
{% if page_title %} {{ page_title }} {% else %} {% block head-title %}{% endblock %} {% endif %} {% if page_subtitle %} {{ page_subtitle }} {% else %} {% block sub-title %}{% endblock %} {% endif %}
{% endblock header %} {% block subheader %}
{% if messages %} {% for message in messages %} {% include "components/alert.html" with type=message.tags message=message %} {% endfor %} {% endif %} {% block page-alerts %}{% endblock %}
{% endblock subheader %}
{% block content %}{% endblock content %}
{% if user_role == "admin" or request.tdm_workspace %}
{% endif %}
{% if user_role != "admin" and not request.tdm_workspace %} {% else %} {% endif %} {% block modals %} {% endblock %} {% block js %} {% if hmr %} {% else %} {% endif %} {% endblock js %}