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

{{_("Course settings")}}

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



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



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






    {% for iss, config in course.lti_config().items() %} {% for client_config in config %} {% set path = get_path('lti1.3', 'jwks', course.get_id(), course.lti_keyset_hash(iss, client_config['client_id'])) %}
    {{ path }} Issuer {{ iss }}, client id {{ client_config['client_id']}}
    {% 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 %}