{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #} {# more information about the licensing of this file. #} {% set static_ver = 3 %} {% macro show_time(datetime) -%} {%- endmacro %} {% block head %} {% block title %}{% endblock %} | INGInious {% if _("__is_rtl") == "true"%} {% else %} {% endif %} {% if config.SENTRY_IO_URL %} {% endif %} {% if config.USE_MINIFIED_JS %} {% if _("__is_rtl") == "true"%} {% else %} {% endif %} {% else %} {% if _("__is_rtl") == "true"%} {% else %} {% endif %} {% endif %} {% for entry in plugin_manager.call_hook("css") %} {% endfor %} {% for entry in plugin_manager.call_hook("javascript_header") %} {% endfor %} {% for entry in plugin_manager.call_hook('header_html') %} {{ entry | safe }} {% endfor %} {% endblock %}
{% if not session.is_lti %} {% block navbar %}{% endblock %} {% endif %}
{% if not session.is_lti %}
{% if user_manager is defined and session.loggedin %} {# Change to teacher privilege when created #} {% if user_manager.user_is_superadmin() %} {% endif %} {{ _("Course list") }} {% else %}
{% for code, language in config.LANGUAGES.items() %} {{ code }} ({{ language }}) {% endfor %}
{{ _("Course list") }} {% if config.ALLOW_REGISTRATION %} {{ _("Register") }} {% endif %} {{ _("Sign in") }} {% endif %}
{% endif %} {% if self.column() %}
{% block column %}{% endblock %} {% endif %}
{% block content %}{% endblock %}
{% for entry in plugin_manager.call_hook("javascript_footer") %} {% endfor %}