{% extends 'staff_course_base.html' %} {% load static %} {% block content %} {{ block.super }}

{% if course_form.instance.id %} {{ course.name }} ({{ course.semester.name }}) {% else %} {% translate 'Create course' %} {% endif %}

{% include 'cms_course_link_badges.html' %}
{% csrf_token %}
{% include 'bootstrap_form.html' with form=course_form %}
{% if course_form.instance.id %}
{% translate 'Evaluations' %}
{% if course.evaluations.count > 0 %} {% else %} {% translate 'There are no evaluations for this course.' %} {% endif %}
{% endif %} {% if editable %}
{% endif %}
{% if course.ignored_evaluations.count > 0 %}
{% csrf_token %}
{% translate 'Ignored evaluations' %}
{% for ignored_evaluation in course.ignored_evaluations.all %} {% endfor %}
{% translate 'Name' %} {% translate 'Notes' %} {% translate 'CMS ID' %}
{{ ignored_evaluation }} {{ ignored_evaluation.notes|linebreaks }} {{ ignored_evaluation.cms_id }} {% translate 'Delete ignored evaluation' %} {% translate 'Delete ignored evaluation' %} {% blocktranslate trimmed %} Do you really want to delete the ignored evaluation {{ ignored_evaluation }}? It will then be imported again on the next CMS import. {% endblocktranslate %}
{% endif %} {% include 'log/logentries.html' with logged_object=course %} {% endblock %}