You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divdata-col="name">{% trans 'Evaluation' %}</div>
128
128
<divdata-col="semester">{% trans 'Semester' %}</div>
129
129
<divdata-col="responsible">{% trans 'Responsible' %}</div>
130
-
<divdata-col="participants">{% trans 'Voters' %}</div>
130
+
<divdata-col="voters">{% trans 'Voters' %}</div>
131
131
<divdata-col="result">{% trans 'Distribution and average grade' %}</div>
132
132
</div>
133
133
{% if course_evaluations %}
134
-
{% include 'results_index_course.html' %}
134
+
{% include 'results_index_course.html' with evaluations=course_evaluations %}
135
135
{% for course_evaluation in course_evaluations|dictsort:"name" %}
136
136
{% if course_evaluation.pk == evaluation.pk %}
137
137
{# we cannot add a class to the actual row because it is cached globally. so we use a + selector in css to style the following row. #}
138
138
<divclass="current-row-follows"></div>
139
139
{% endif %}
140
-
{% with evaluation=course_evaluation %}
141
-
{% include 'results_index_evaluation.html' with links_to_results_page=evaluation|can_results_page_be_seen_by:request.user is_subentry=True %}
142
-
{% endwith %}
140
+
{% include 'results_index_evaluation.html' with evaluation=course_evaluation links_to_results_page=course_evaluation|can_results_page_be_seen_by:request.user is_subentry=True %}
143
141
{% endfor %}
144
142
{% else %}
145
143
{% include 'results_index_evaluation.html' with links_to_results_page=False is_subentry=False %}
0 commit comments