{% load i18n %}
GRNET's FoD :: {% block title %}{% endblock %}
{% block extrahead %}{% endblock %} {% comment %}
Firewall on Demand
{% block menublock %} {% if user.is_authenticated %}
{% trans "Welcome" %}
{{user}}
{% endif %}
{% csrf_token %}
{% for lang in LANGUAGES %}
{% ifnotequal LANGUAGE_CODE lang.0 %}
{% endifnotequal %}{% trans lang.1 %}{% ifnotequal LANGUAGE_CODE lang.0 %}
{% endifnotequal %}
{% if not forloop.last %} -{% endif %} {% endfor %}
{% if user.is_authenticated %}
{% trans "My profile" %}
{% if user.is_superuser %}
{% trans "Admin" %}
{% endif %}
{% trans "Logout" %}
{% else %} {% if error %}
{% trans "Retry Login" %}
{% else %}
{% trans "Shibboleth Login" %}
{% endif %} {% endif %} {% endblock %}
{% endcomment %}
{% block topmenu %}
{% if user.is_authenticated %} {% if user.get_profile.peer %}
{% trans "My profile" %}
{% endif %} {% if perms.accounts.overview %}
{% trans "Overview" %}
{% endif %} {% if user.is_superuser %}
{% trans "Admin" %}
{% endif %} {% else %}
{% endif %}
{% trans "Language" %}: {% for lang in LANGUAGES %}{% ifequal LANGUAGE_CODE lang.0 %}{% trans lang.1 %}{% endifequal %}{% endfor %}
{% csrf_token %}
{% for lang in LANGUAGES %}
{% trans lang.1 %}{% ifequal LANGUAGE_CODE lang.0 %}
{% endifequal %}
{% endfor %}
{% endblock %}
{% if user.is_authenticated %}
{{user}}
{% trans "Logout" %}
{% else %} {% if error %} {% if inactive %}
{% trans "Shibboleth Login" %}
{% else %}
{% trans "Retry Login" %}
{% endif %} {% else %}
{% trans "Shibboleth Login" %}
{% endif %} {% endif %}
{% block contentplaceholder %}
{% block brcrmb_container %}
{% if user.is_authenticated %}
{% trans "My rules" %}
{% else %}
{% trans "Welcome" %}
{% endif %} {% block breadcrumbs %}{% endblock %}
{% endblock %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% block content %} {% endblock %}
{% endblock %} {% block footerblock %} {% include "footer.html" %} {% endblock %}