Fix: Permettre à un utilisateur d'annuler sa reservation
All checks were successful
Organisation/sirh/pipeline/head This commit looks good

This commit is contained in:
2026-09-14 11:17:01 +00:00
parent 54dc65f0d8
commit 622b412a21
5 changed files with 6 additions and 8 deletions

View File

@@ -50,15 +50,15 @@
<input type="checkbox" class="form-check-input" id="besoin_ordinateur" readonly >
</div>
<hr />
<div class='d-flex justify-content-around mt-2'>
<div class='d-flex justify-content-center mt-2'>
{% if appartient_au_departement_informatique %}
<button class="btn btn-primary" id="ajoutZoom">Ajout du lien zoom</button>
<button class="btn btn-primary me-1" id="ajoutZoom">Ajout du lien zoom</button>
{% endif %}
{% if appartient_direction %}
<button class="btn btn-danger" id="refuserReservation" data-lienrefus="{% url 'gestion_salle:refuser-reservation' %}">Refuser</button>
<button class="btn btn-success" id="bouton-valider">Valider</button>
<button class="btn btn-danger me-1" id="refuserReservation" data-lienrefus="{% url 'gestion_salle:refuser-reservation' %}">Refuser</button>
<button class="btn btn-success me-1" id="bouton-valider">Valider</button>
{% endif %}
<span id="current-user-id" data-user-id="{{ request.user.id }}"></span>
<span id="current-user-id" data-user-id="{{ user.id }}"></span>
<button class="btn btn-danger" id="bouton-annuler">Annuler</button>
</div>
</form>