++ emojis a los resultados

This commit is contained in:
fenix 2024-02-13 12:24:27 +01:00
parent a4dad7dcc3
commit 798220d266
2 changed files with 12 additions and 6 deletions

View File

@ -12,22 +12,27 @@
<ul>
<li>
:-)
<em>Sandrine:</em> 100/100
</li>
<li>
:-)
<em>Gergeley:</em> 87/100
</li>
<li>
:-)
<em>Frieda:</em> 92/100
</li>
<li>
:-(
<em>Fritz:</em> 40/100
</li>
<li>
:-(
<em>Sirius:</em> 75/100
</li>

View File

@ -12,6 +12,7 @@
<ul>
{% for student in students %}
<li>
{% if student.score > 80 %} :-) {% else %} :-( {% endif %}
<em>{{ student.name }}:</em> {{ student.score }}/{{ max_score }}
</li>
{% endfor %}