Skip to content

Commit 8373085

Browse files
authored
Merge pull request #508 from uclouvain/qa
[PROD] INTERNSHIP-316 fix empty score display
2 parents 44d258b + dfadfc1 commit 8373085

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/scores.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ <h2>{% trans 'Scores encoding' context "internship" %}</h2>
373373
{% else %}
374374
<td class="hidden-sm hidden-xs text-center">-</td>
375375
{% endif %}
376+
{% empty %}
377+
{% for i in i|rjust:15 %}
378+
<td class="hidden-sm hidden-xs text-center">-</td>
379+
{% endfor %}
376380
{% endfor %}
377381
{% endif %}
378382
{% endif %}

0 commit comments

Comments
 (0)