mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 14:38:24 +02:00
Hugs
This commit is contained in:
@ -4,6 +4,20 @@
|
||||
|
||||
{% block content %}
|
||||
{% if form %}
|
||||
{% if now < user.team.future_tournament.date_solutions %}
|
||||
<div class="alert alert-warning">
|
||||
{% blocktrans with deadline=user.team.future_tournament.date_solutions %}You can upload your solutions until {{ deadline }}.{% endblocktrans %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-danger">
|
||||
{% if now < real_deadline %}
|
||||
{% trans "The deadline to send your solutions is reached. However, you have an extra time of 30 minutes to send your papers, no panic :)" %}
|
||||
{% else %}
|
||||
{% trans "You can't upload your solutions anymore." %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
|
Reference in New Issue
Block a user