1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 03:58:26 +02:00

Order solutions by problem number

This commit is contained in:
Yohann D'ANELLO
2020-05-06 14:50:07 +02:00
parent 1a83aa0388
commit abafdc86d9
2 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,7 @@
{% if team.solutions.count %}
<div class="alert alert-info">
<ul>
{% for solution in team.solutions.all %}
{% for solution in ordered_solutions %}
<li><strong>{{ solution }} :</strong> <a data-turbolinks="false" href="{% url "document" file=solution.file %}">{% trans "Download" %}</a></li>
{% endfor %}
</ul>