{# 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 %} {{ _("Tags") }} | {{ course.get_name(user_manager.session_language()) }} {% endblock %} {% block column %} {{ template_helper.call('course_admin_menu',course=course,current='tags') | safe }} {% endblock %} {% block navbar %} {% endblock %} {% block content %}

{{_("Tags")}}

{% if error %} {% elif saved %} {% endif %}
{% for key, tag in course.get_descriptor().get("tags", {}).items() %} {% set name = tag["name"] if "name" in tag else _("Unknown name") %} {% set description = tag["description"] if "description" in tag else "" %} {% set type = tag["type"] if "type" in tag else 0 %} {% set visible = tag["visible"] if "visible" in tag else False %} {% endfor %}
{{_("id")}} {{_("name")}} {{_("description")}} {{_("show to students")}} {{_("type ")}}
{% endblock %}