{# 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" %} {% set task_dispenser = course.get_task_dispenser() %} {% block title %} {{course.get_name(session.language)}} {% endblock %} {% block column %} {% with current='tasks' %}{% include 'course_admin/menu.html' %}{% endwith %} {% endblock %} {% block navbar %} {% endblock %} {% block content %}

{{ _("Tasks") }}

{% if config.WEBDAV_HOST %}
{{_("Use this URL to access your course folder using WebDAV:")}}

{{_("URL")}}{{ config.WEBDAV_HOST ~ "/" ~ course.get_id()}}
{{_("Username")}}{{ session.username }}
{{_("Password")}}{{ user_manager.get_user_api_key(session.username) }}
{% endif %} {% if errors %} {% for error in errors %} {% endfor %} {% elif validated %} {% endif %} {% if task_dispenser.has_legacy_tasks() %} {% endif %}
{{ task_dispenser.render_edit(course, tasks, tasks_errors) | safe }}
{% endblock %}