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

{{ semester.name }}

{% if request.user.is_manager %} {% translate 'Edit' %}
{% csrf_token %} {% translate 'Make this the active semester' %} {% translate 'Make active' %} {% blocktranslate trimmed %} Do you want to make this the active semester? {% endblocktranslate %}
{% csrf_token %} {% translate 'Delete semester' %} {% translate 'Delete semester' %} {% blocktranslate trimmed with semester_name=semester.name %} Do you really want to delete the semester {{ semester_name }}? All courses and evaluations will be deleted as well as all results. If you are sure, enter the name of the semester below. {% endblocktranslate %}
{% endif %}
{% if request.user.is_manager %}
{% translate 'Archiving' %}
{% if semester.participations_can_be_archived %}
{% csrf_token %} {% translate 'Archive participations' %} {% translate 'Archive participations' %} {% blocktranslate trimmed with semester_name=semester.name %} Do you really want to archive all participations in the semester {{ semester_name }}? Further changes to the evaluations won't be possible and you can't undo this action. {% endblocktranslate %}
{% elif semester.participations_are_archived %} {% else %} {% endif %} {% if semester.grade_documents_can_be_deleted %}
{% csrf_token %} {% translate 'Delete grade documents' %} {% translate 'Delete grade documents' %} {% blocktranslate trimmed with semester_name=semester.name %} Do you really want to delete the grade documents in the semester {{ semester_name }}? This will delete all existing grade documents for this semester's courses and will disable new uploads. You can't undo this action. {% endblocktranslate %}
{% elif semester.grade_documents_are_deleted %} {% endif %} {% if semester.results_can_be_archived %}
{% csrf_token %} {% translate 'Archive results' %} {% translate 'Archive results' %} {% blocktranslate trimmed with semester_name=semester.name %} Do you really want to archive the results in the semester {{ semester_name }}? This will make the results of all evaluations inaccessible for all users except their contributors and managers. You can't undo this action. {% endblocktranslate %}
{% elif semester.results_are_archived %} {% endif %}
{% endif %}
{% if request.user.is_manager %}
{% if not semester.participations_are_archived %} {% translate 'Preparation reminder' %} {% translate 'Grade publish reminder' %} {% endif %}
{% csrf_token %}
{% translate 'Reward points active' %}
{% translate 'Activate reward points' %} {% translate 'Activate reward points' %} {% blocktranslate trimmed with semester_name=semester.name %} Do you want to activate the reward points for the semester {{ semester_name }}? The activation will allow participants to receive reward points when voting and will also grant all eligible points for participants who have already voted so far. The process will take a while. {% endblocktranslate %}
{% endif %}
{% for program, stats in program_stats.items %} {% endfor %}
{% translate 'Program' %} {% translate 'Evaluation period' %} {% translate 'Finished evaluations' %} {% translate 'Reviewed text answers' %} {% translate 'Participation' %}
{% if program == 'total' %}{% translate 'Total' %}{% else %}{{ program }}{% endif %} {% if stats.num_evaluations != 0 %} {{ stats.first_start }} – {{ stats.last_end }} {% endif %} {% include 'progress_bar.html' with done=stats.num_evaluations_evaluated total=stats.num_evaluations %} {% include 'progress_bar.html' with done=stats.num_textanswers_reviewed total=stats.num_textanswers %} {% include 'progress_bar.html' with done=stats.num_votes total=stats.num_enrollments_in_evaluation %}
{% if request.user.is_manager %} {% if not semester.participations_are_archived %} {% translate 'Import' %} {% endif %} {% if not semester.participations_are_archived %} {% translate 'Assign questionnaires' %} {% endif %} {% endif %} {% if request.user.is_reviewer %} {% translate 'Flagged textanswers' %} {% endif %}
{% translate 'Filter' %}
{% for approval_state in approval_states %} {% with approval_state_values=approval_state|approval_state_values %} {% endwith %} {% endfor %}
{% csrf_token %}
{% if num_evaluations > 0 %} {% for evaluation in evaluations %} {% include 'staff_semester_view_evaluation.html' with semester=semester evaluation=evaluation info_only=False %} {% endfor %}
{% translate 'Name' %} {% translate 'Evaluation period' %}
{% else %}
{% translate 'There are no evaluations in this semester.' %}
{% endif %} {% if request.user.is_manager and not semester.participations_are_archived %}
{% endif %}
{% if request.user.is_manager %} {% translate 'Create course' %} {% endif %}
{% if courses %}
{% csrf_token %}
{% for course in courses %} {% endfor %}
{% translate 'Course' %} {% translate 'Responsible' %} {% translate '#Evaluations' %}
{% include 'course_badges.html' %}
{{ course.responsibles_names }}
{% if course.evaluations.count == 0 %} {% translate 'No evaluations' %} {% else %} {{ course.evaluations.count }} {% endif %} {% if request.user.is_manager %} {% endif %} {% if course.can_be_deleted_by_manager %} {% translate 'Delete course' %} {% translate 'Delete course' %} {% blocktranslate trimmed with course_name=course.name %} Do you really want to delete the course {{ course_name }}? {% endblocktranslate %} {% endif %}
{% else %}
{% translate 'There are no courses in this semester.' %}
{% endif %}
{% endblock %} {% block additional_javascript %} {% endblock %}