{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #} {# more information about the licensing of this file. #} {% extends "layout.html" %} {% block title %}{{_("Course list") }}{% endblock %} {% block column %} {% if not user_manager.session_logged_in() %} {% include "signin_button.html" %} {% else %}

{{ _("Public courses") }}

{{ _("My courses") }}
{{ template_helper.call('main_menu', template_helper=template_helper) | safe }} {% endif %} {% endblock %} {% block navbar %} {% endblock %} {% block content %}

{{ _("Course list") }}

{% set username = user_manager.session_username() %} {% for courseid, course in open_courses.items() %}
{% if course.is_lti() %} {% if course.lti_url() %} {% endif %} {{course.get_name(user_manager.session_language())}} {% if course.lti_url() %} {% endif %} {% else %} {{course.get_name(user_manager.session_language())}} {% endif %}
{{ course.get_description(user_manager.session_language()) | safe }}
{# Resizing logic #} {% if loop.index % 2 == 0 %}
{% endif %} {% if loop.index % 3 == 0 %}
{% endif %} {% if loop.index % 4 == 0 %}
{% endif %} {% if loop.index % 5 == 0 %}
{% endif %} {% endfor %}
{% endblock %}