{# 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.get_name(session.language) }} - {{ _("Settings") }} {% endblock %} {% block column %} {% with current='settings' %}{% include 'course_admin/menu.html' %}{% endwith %} {% endblock %} {% block navbar %} {% endblock %} {% block content %}

{{_("Course settings")}}

{% if errors is not none %} {%for error in errors %} {% endfor %} {%elif saved %} {% endif %}
{% with course_id=course.get_id(), current_users=course.get_admins(), name="admins", id="admins", placeholder=_("Enter something here to search for a user") %} {% include "course_admin/user_selection_box.html" %} {% endwith %}
{% with course_id=course.get_id(), current_users=course.get_tutors(), name="tutors", id="tutors", placeholder=_("Enter something here to search for a user") %} {% include "course_admin/user_selection_box.html" %} {% endwith %}




{% set at = course.get_accessibility(False) %}



{% set at = course.get_registration_accessibility() %}
{% set allow_unregister = course.allow_unregister(False) %}






{{ _("LTI 1.1 is deprecated and support will be removed in a future release.") }}
{{ url_for("ltilaunchpage", _external=True, courseid=course.get_id(), taskid="<taskid>") | safe }}
{{ _("This is a feature preview. Implementation may change in a future release.") }}
{% set secrets = course.lti_secrets() %} {% for iss, clients in config.LTI_CONFIG.items() %} {% set rowloop = loop %} {% for client in clients %} {% with type= "global", index = rowloop.index ~ "_" ~ loop.index %} {% include "course_admin/lti_config_card.html" %} {% endwith %} {% endfor %} {% endfor %} {% for iss, clients in course.lti_config().items() %} {% set rowloop = loop %} {% for client in clients %} {% with type = "course", index = rowloop.index ~ "_" ~ loop.index %} {% include "course_admin/lti_config_card.html" %} {% endwith %} {% endfor %} {% endfor %}
{% if error %} {% 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 %}