diff --git a/app/templates/results.html b/app/templates/results.html index 8f05f6f4..5c6be7d3 100644 --- a/app/templates/results.html +++ b/app/templates/results.html @@ -29,20 +29,20 @@
- | # | -Тест | -Результат | -||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- - | -{{ loop.index }} | -{{ criterion_info['name'] }} | - {% set colors = {0.0: 'table-danger', 1.0: 'table-success'} %} - {% set result_labels = {0.0: 'Не пройдена', 1.0: 'Пройдена'} %} -- {{ result_labels.get(criterion_info['score'], 'Частично пройдена') }} - | -||||||||||||
-
- {% for item in criterion_info.get('verdict', ["Пройдена!"] if criterion_info.get('score')==1.0 else
+
+ {% if results.is_ended and not results.is_failed %}
+
-
- {% endif %}
+
-
- |
+