{# 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 %}{{_("Marketplace") }}{% endblock %}} {% block column %} {% if not user_manager.session_logged_in() %} {% include "signin_button.html" %} {% else %}

{{ _("How to use") }}

{{ _("My courses") }}
{% endif %} {% endblock %} {% block navbar %} {% endblock %} {% block content %}

{{ _("Marketplace") }}

{% for error in errors %} {% endfor %}
{% set username = user_manager.session_username() %} {% if courses |length !=0 %} {% for courseid, course in courses.items() %}
{{ course.get_name(user_manager.session_language()) }}
{{ course.get_short_desc(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 %} {% endfor %} {% else %} {{ _("No public courses available") }} {% endif %}
{% endblock %}