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

{{ semester.name }} {% if request.user.is_manager %}   {% trans 'Edit' %} {% endif %}

{% if request.user.is_manager %}
{% trans 'Archiving' %}
{% if semester.participations_can_be_archived %} {% elif semester.participations_are_archived %} {% else %} {% endif %} {% if semester.grade_documents_can_be_deleted %} {% elif semester.grade_documents_are_deleted %} {% endif %} {% if semester.results_can_be_archived %} {% elif semester.results_are_archived %} {% endif %}
{% endif %}
{% if request.user.is_manager %}
{% if not semester.participations_are_archived %} {% trans 'Preparation reminder' %} {% trans 'Grade publish reminder' %} {% endif %}
{% trans 'Reward points active' %}
{% endif %}
{% for degree, stats in degree_stats.items %} {% endfor %}
{% trans 'Degree' %} {% trans 'Evaluation period' %} {% trans 'Finished evaluations' %} {% trans 'Reviewed text answers' %} {% trans 'Participation' %}
{% if degree == 'total' %}{% trans 'Total' %}{% else %}{{ degree }}{% 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 %} {% trans 'Import' %} {% endif %} {% if not semester.participations_are_archived %} {% trans 'Assign questionnaires' %} {% endif %}
{% endif %}
{% trans 'Filter' %}
{% for approval_state in approval_states %} {% with approval_state_values=approval_state|approval_state_values %} {% endwith %} {% endfor %}
{% if num_evaluations > 0 %} {% for evaluation in evaluations %} {% include 'staff_semester_view_evaluation.html' with semester=semester evaluation=evaluation info_only=False %} {% endfor %}
{% trans 'Name' %} {% trans 'Evaluation period' %}
{% else %}
{% trans '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 %} {% trans 'Create course' %} {% endif %}
{% if courses %} {% for course in courses %} {% endfor %}
{% trans 'Course' %} {% trans 'Responsible' %} {% trans '#Evaluations' %}
{% include 'course_badges.html' %}
{{ course.responsibles_names }}
{% if course.evaluations.count == 0 %} {% trans 'No evaluations' %} {% else %} {{ course.evaluations.count }} {% endif %} {% if request.user.is_manager %} {% endif %} {% if course.can_be_deleted_by_manager %} {% endif %}
{% else %}
{% trans 'There are no courses in this semester.' %}
{% endif %}
{% endblock %} {% block modals %} {{ block.super }} {% trans 'Make this the active semester' as title %} {% trans 'Do you want to make this the active semester?' as question %} {% trans 'Make active' as action_text %} {% include 'confirmation_modal.html' with modal_id='makeActiveSemesterModal' title=title question=question action_text=action_text btn_type='primary' %} {% trans 'Delete semester' as title %} {% blocktrans asvar question %}Do you really want to delete the semester ? All courses and evaluations will be deleted as well as all results. If you are sure, enter the name of the semester below.{% endblocktrans %} {% trans 'Delete semester' as action_text %} {% include 'confirmation_text_modal.html' with modal_id='deleteSemesterModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Archive participations' as title %} {% blocktrans asvar question %}Do you really want to archive all participations in the semester ? Further changes to the evaluations won't be possible and you can't undo this action.{% endblocktrans %} {% trans 'Archive participations' as action_text %} {% include 'confirmation_modal.html' with modal_id='archiveParticipationsModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Delete grade documents' as title %} {% blocktrans asvar question %}Do you really want to delete the grade documents in the semester ? This will delete all existing grade documents for this semester's courses and will disable new uploads. You can't undo this action.{% endblocktrans %} {% trans 'Delete grade documents' as action_text %} {% include 'confirmation_modal.html' with modal_id='deleteGradeDocumentsModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Archive results' as title %} {% blocktrans asvar question %}Do you really want to archive the results in the semester ? This will make the results of all evaluations inaccessible for all users except their contributors and managers. You can't undo this action.{% endblocktrans %} {% trans 'Archive results' as action_text %} {% include 'confirmation_modal.html' with modal_id='archiveResultsModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Delete evaluation' as title %} {% trans 'Do you really want to delete the evaluation ?' as question %} {% trans 'Delete evaluation' as action_text %} {% include 'confirmation_modal.html' with modal_id='deleteEvaluationModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Delete course' as title %} {% trans 'Do you really want to delete the course ?' as question %} {% trans 'Delete course' as action_text %} {% include 'confirmation_modal.html' with modal_id='deleteCourseModal' title=title question=question action_text=action_text btn_type='danger' %} {% trans 'Activate reward points' as title %} {% blocktrans asvar question %}Do you want to activate the reward points for the semester ? 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.{% endblocktrans %} {% trans 'Activate reward points' as action_text %} {% include 'confirmation_modal.html' with modal_id='activateRewardPointsModal' title=title question=question action_text=action_text btn_type='primary' %} {% endblock %} {% block additional_javascript %} {% endblock %}