diff --git a/Jenkinsfile b/Jenkinsfile index d4d58f6..b0f446a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,7 @@ pipeline python manage.py makemigrations python manage.py migrate + python manage.py collectstatic echo $SUDO_PASSWORD | sudo -S chown -R www-data:www-data /var/www/sirh echo "Deploiement reussi" diff --git a/gestion_salle/__pycache__/models.cpython-310.pyc b/gestion_salle/__pycache__/models.cpython-310.pyc index f8270c3..cf5d983 100644 Binary files a/gestion_salle/__pycache__/models.cpython-310.pyc and b/gestion_salle/__pycache__/models.cpython-310.pyc differ diff --git a/gestion_salle/static/gestion_salle/js/index.js b/gestion_salle/static/gestion_salle/js/index.js index e0101db..092b27c 100644 --- a/gestion_salle/static/gestion_salle/js/index.js +++ b/gestion_salle/static/gestion_salle/js/index.js @@ -33,11 +33,11 @@ const calendrier = Schedule(document.getElementById('planning-reservation'), { $("lien_zoom_container").className = "d-none"; } - if(data.statut !== "annulee"){ - $("motif_refus_container").className = "d-none"; - }else{ - $("motif_refus").value=data.motif_refus; - } + // if(data.statut !== "annulee"){ + // $("motif_refus_container").className = "d-none"; + // }else{ + // $("motif_refus").value=data.motif_refus; + // } }) } });