1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 17:18:22 +02:00

Display the calendar in a modal for non-admin users

This commit is contained in:
Yohann D'ANELLO
2020-10-20 14:35:04 +02:00
parent 9571cfc19d
commit 1d0246af8f
4 changed files with 20 additions and 7 deletions

View File

@ -23,7 +23,7 @@ def register_phases(apps, schema_editor):
)
Phase.objects.get_or_create(
phase_number=4,
description="Soumission de la vidéo de synthèse de l'échange",
description="Synthèse de l'échange",
)

View File

@ -11,11 +11,13 @@
{% endblock %}
{% block content %}
{% render_table table %}
<div id="form-content">
{% render_table table %}
{% trans "Update phase" as modal_title %}
{% trans "Update" as modal_button %}
{% include "base_modal.html" with modal_id="updatePhase" %}
{% trans "Update phase" as modal_title %}
{% trans "Update" as modal_button %}
{% include "base_modal.html" with modal_id="updatePhase" %}
</div>
{% endblock %}
{% block extrajavascript %}