From 09e5a724704ce1540cb3ce787be9198904776b17 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 12 Jan 2021 16:26:52 +0100 Subject: [PATCH] Display the solutions of the team --- .../participation/participation_detail.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/apps/participation/templates/participation/participation_detail.html b/apps/participation/templates/participation/participation_detail.html index d4393eb..4f47d47 100644 --- a/apps/participation/templates/participation/participation_detail.html +++ b/apps/participation/templates/participation/participation_detail.html @@ -12,6 +12,20 @@
{% trans "Team:" %}
{{ participation.team }}
+ +
{% trans "Tournament:" %}
+
{{ participation.tournament }}
+ +
{% trans "Solutions:" %}
+
+ {% for solution in participation.solutions.all %} + + {% blocktrans trimmed with problem=solution.problem %}problem {{ problem }}{% endblocktrans %}{% if not forloop.last %}, {% endif %} + + {% empty %} + {% trans "No solution was uploaded yet." %} + {% endfor %} +