class="{% if course.evaluation_count > 1 %}evaluation-row{% else %}heading-row{% endif %}"
...
...
@@ -78,7 +80,7 @@
{% if evaluation.state > evaluation.State.IN_EVALUATION %}
<spanclass="text text-secondary"data-bs-toggle="tooltip"data-bs-placement="top"title="{% trans 'You did not take part in this evaluation.' %}"><spanclass="far fa-fw fa-frown"aria-hidden="true"></span></span>
<spanclass="text text-primary"data-bs-toggle="tooltip"data-bs-placement="top"title="{% trans 'You can take part in this evaluation above.' %}"><spanclass="fas fa-fw fa-arrow-up"aria-hidden="true"></span></span>
<spanclass="text text-primary"data-bs-toggle="tooltip"data-bs-placement="top"title="{% trans 'You can take part in this evaluation.' %}"><spanclass="fas fa-fw fa-arrow-right"aria-hidden="true"></span></span>
{% else %}
<spanclass="text text-secondary"data-bs-toggle="tooltip"data-bs-placement="top"title="{% trans 'This evaluation will start in the future.' %}"><spanclass="far fa-fw fa-clock"aria-hidden="true"></span></span>
{% endif %}
...
...
@@ -154,7 +156,9 @@
</td>
<tdclass="text-end">
{% if not semester.results_are_archived %}
{% if evaluation.state == evaluation.State.PUBLISHED %}
{% if evaluation.state == evaluation.State.IN_EVALUATION and evaluation.participates_in and not evaluation.voted_for and evaluation.is_in_evaluation_period %}
{% include 'evaluation_result_widget.html' with course_or_evaluation=evaluation %}
{% elif not evaluation.participates_in or evaluation.voted_for and evaluation.State.IN_EVALUATION <=evaluation.stateandevaluation.state<=evaluation.State.REVIEWED%}
<divclass="d-flex"data-bs-toggle="tooltip"data-bs-placement="left"title="{% if evaluation|weight_info %}{% blocktrans with percentage=evaluation|weight_info %}This evaluation contributes {{ percentage }} to the final grade of the course.{% endblocktrans %} {% endif %}{% trans 'The results have not been published yet.' %}{% if evaluation.participates_in %} {% trans 'You will receive an email when the results are published.' %}{% endif %}">