mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-29 18:31:10 +02:00
Add continue button for the final tournament
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -17,7 +17,7 @@ class DisplayView(LoginRequiredMixin, TemplateView):
|
||||
if reg.is_admin:
|
||||
tournaments = Tournament.objects.order_by('id').all()
|
||||
elif reg.is_volunteer:
|
||||
tournaments = reg.interesting_tournaments.order_by('id').all()
|
||||
tournaments = reg.interesting_tournaments
|
||||
else:
|
||||
tournaments = [reg.team.participation.tournament]
|
||||
context['tournaments'] = tournaments
|
||||
|
Reference in New Issue
Block a user