{# 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 %}{{ _("My courses") }}{% endblock %} {% block navbar %} {% endblock %} {% block column %}

{{ _("My courses") }}

{{ _("Last tried exercises") }}

{% if submissions %} {% for submission in submissions %} {% if submission['courseid'] in open_courses %} {% set course = open_courses[submission['courseid']] %} {{ course.get_name(session.language) }}: {{ submission["task"].get_name(session.language) }} {% endif %} {% endfor %} {% else %} {{ _("No submissions") }} {% endif %}
{% for entry in plugin_manager.call_hook('main_menu') %} {{ entry }} {% endfor %} {% endblock %} {% block content %}

{{ _("My pinned courses") }}

{% for courseid, course in pinned_courses.items() %}
{% endfor %}
{{ _("You have no pinned courses. Go to the full course list to pin some.") }}

{{ _("My courses") }}


{%if open_courses %} {% set username = session.username %} {% for courseid, course in open_courses.items() %} {% endfor %} {% else %} {{ _("You are not registered to any course") }} {% endif %}
{% if user_manager.user_is_superadmin() %}
{% if success == True %} {% elif success == False %} {% endif %}
{% endif %} {% endblock %}