Loading module/Atelier/view/atelier/atelier/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php echo $this->messenger()->addMessagesFromFlashMessenger(); ?> <table class="table table-condensed datatable" id="ateliers"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="ateliers" style="width:100%"> <thead> <tr> <th> Année(s) Universitaire</th> Loading Loading @@ -136,6 +137,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading module/Atelier/view/atelier/groupe/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,8 @@ $this->headTitle("Groupe d'ateliers"); <?php echo $this->messenger()->addMessagesFromFlashMessenger(); ?> <table class="datatable table table-condensed table-hover" id="groupes"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="groupes" style="width:100%"> <thead> <tr> <th> Libellé</th> Loading Loading @@ -135,6 +136,7 @@ $this->headTitle("Groupe d'ateliers"); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading module/Atelier/view/atelier/intervenant/index.phtml +22 −3 Original line number Diff line number Diff line Loading @@ -41,8 +41,8 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat <?php echo $this->partial('partial/filtre', ['params' => $params]); ?> <table class="table table-condensed datatable" id="formateur"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="formateur" style="width:100%"> <thead> <tr> <th> Dénomination</th> Loading @@ -54,7 +54,7 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat </thead> <tbody> <?php foreach ($intervenants as $intervenant): ?> <?php if ($canSupprimer OR $intervenant->estNonHistorise()) : ?> <?php if ($canSupprimer or $intervenant->estNonHistorise()) : ?> <tr class="<?php if ($intervenant->estHistorise()) echo " historise "; ?>"> <td> <?php echo $intervenant->getDenomination(); ?> Loading Loading @@ -152,9 +152,28 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { $('.datatable').dataTable({ paging: true, autoWidth: false, columnDefs: [ { "targets": 4, "orderable": false }, ], "language": { "url": "/js/datatables_fr.json", } , }) ; $("body").on("modification", function (event) { event.div.modal('hide'); window.location.reload(); Loading module/Atelier/view/atelier/programme/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php if (empty($programmes)) : ?> <em> Aucun programme !</em> <?php else : ?> <table class="table table-condensed datatable"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="programme" style="width:100%"> <thead> <tr> <th> Libellé</th> Loading Loading @@ -115,6 +116,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> <script> Loading module/Atelier/view/atelier/session/index.phtml +16 −7 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); 'params' => $params ], [], true); ?> <table class="table table-condensed datatable" id="actions"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="actions" style="width:100%"> <thead> <tr> <th> Année(s) Universitaire</th> Loading Loading @@ -92,8 +92,12 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <td> <?php $seances = $session->getSeances(); $seances = array_filter($seances, function (Seance $seance) {return $seance->estNonHistorise();}); usort($seances, function (Seance $seance1, Seance $seance2) { return $seance1 <=> $seance2;}); $seances = array_filter($seances, function (Seance $seance) { return $seance->estNonHistorise(); }); usort($seances, function (Seance $seance1, Seance $seance2) { return $seance1 <=> $seance2; }); ?> <?php if (empty($seances)): ?> <em>Aucune séance</em> Loading @@ -113,11 +117,15 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <td> <?php $inscriptions = $session->getInscriptions(); $inscriptions = array_filter($inscriptions, function (Inscription $inscription) { return $inscription->estNonHistorise();}); $inscriptions = array_filter($inscriptions, function (Inscription $inscription) { return $inscription->estNonHistorise(); }); ?> Inscription : <?php echo count($inscriptions); ?><br> Principale : <?php echo count($session->getListePrincipale()); ?> /<?php echo $session->getNbPlacePrincipale(); ?><br> Complémentaire : <?php echo count($session->getListeComplementaire()); ?>/<?php echo $session->getNbPlaceComplementaire(); ?> Principale : <?php echo count($session->getListePrincipale()); ?> /<?php echo $session->getNbPlacePrincipale(); ?><br> Complémentaire : <?php echo count($session->getListeComplementaire()); ?> /<?php echo $session->getNbPlaceComplementaire(); ?> </td> <td class="action"> <?php if ($canAfficher) : ?> Loading Loading @@ -167,6 +175,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading Loading
module/Atelier/view/atelier/atelier/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php echo $this->messenger()->addMessagesFromFlashMessenger(); ?> <table class="table table-condensed datatable" id="ateliers"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="ateliers" style="width:100%"> <thead> <tr> <th> Année(s) Universitaire</th> Loading Loading @@ -136,6 +137,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading
module/Atelier/view/atelier/groupe/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,8 @@ $this->headTitle("Groupe d'ateliers"); <?php echo $this->messenger()->addMessagesFromFlashMessenger(); ?> <table class="datatable table table-condensed table-hover" id="groupes"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="groupes" style="width:100%"> <thead> <tr> <th> Libellé</th> Loading Loading @@ -135,6 +136,7 @@ $this->headTitle("Groupe d'ateliers"); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading
module/Atelier/view/atelier/intervenant/index.phtml +22 −3 Original line number Diff line number Diff line Loading @@ -41,8 +41,8 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat <?php echo $this->partial('partial/filtre', ['params' => $params]); ?> <table class="table table-condensed datatable" id="formateur"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="formateur" style="width:100%"> <thead> <tr> <th> Dénomination</th> Loading @@ -54,7 +54,7 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat </thead> <tbody> <?php foreach ($intervenants as $intervenant): ?> <?php if ($canSupprimer OR $intervenant->estNonHistorise()) : ?> <?php if ($canSupprimer or $intervenant->estNonHistorise()) : ?> <tr class="<?php if ($intervenant->estHistorise()) echo " historise "; ?>"> <td> <?php echo $intervenant->getDenomination(); ?> Loading Loading @@ -152,9 +152,28 @@ $canCreerCompte = $this->isAllowed(UtilisateurPrivileges::getResourceId(Utilisat <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { $('.datatable').dataTable({ paging: true, autoWidth: false, columnDefs: [ { "targets": 4, "orderable": false }, ], "language": { "url": "/js/datatables_fr.json", } , }) ; $("body").on("modification", function (event) { event.div.modal('hide'); window.location.reload(); Loading
module/Atelier/view/atelier/programme/index.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php if (empty($programmes)) : ?> <em> Aucun programme !</em> <?php else : ?> <table class="table table-condensed datatable"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="programme" style="width:100%"> <thead> <tr> <th> Libellé</th> Loading Loading @@ -115,6 +116,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> <script> Loading
module/Atelier/view/atelier/session/index.phtml +16 −7 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); 'params' => $params ], [], true); ?> <table class="table table-condensed datatable" id="actions"> <div class="table-responsive"> <table class="table table-striped table-hover table-sm datatable" id="actions" style="width:100%"> <thead> <tr> <th> Année(s) Universitaire</th> Loading Loading @@ -92,8 +92,12 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <td> <?php $seances = $session->getSeances(); $seances = array_filter($seances, function (Seance $seance) {return $seance->estNonHistorise();}); usort($seances, function (Seance $seance1, Seance $seance2) { return $seance1 <=> $seance2;}); $seances = array_filter($seances, function (Seance $seance) { return $seance->estNonHistorise(); }); usort($seances, function (Seance $seance1, Seance $seance2) { return $seance1 <=> $seance2; }); ?> <?php if (empty($seances)): ?> <em>Aucune séance</em> Loading @@ -113,11 +117,15 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <td> <?php $inscriptions = $session->getInscriptions(); $inscriptions = array_filter($inscriptions, function (Inscription $inscription) { return $inscription->estNonHistorise();}); $inscriptions = array_filter($inscriptions, function (Inscription $inscription) { return $inscription->estNonHistorise(); }); ?> Inscription : <?php echo count($inscriptions); ?><br> Principale : <?php echo count($session->getListePrincipale()); ?> /<?php echo $session->getNbPlacePrincipale(); ?><br> Complémentaire : <?php echo count($session->getListeComplementaire()); ?>/<?php echo $session->getNbPlaceComplementaire(); ?> Principale : <?php echo count($session->getListePrincipale()); ?> /<?php echo $session->getNbPlacePrincipale(); ?><br> Complémentaire : <?php echo count($session->getListeComplementaire()); ?> /<?php echo $session->getNbPlaceComplementaire(); ?> </td> <td class="action"> <?php if ($canAfficher) : ?> Loading Loading @@ -167,6 +175,7 @@ $urlRetour = $this->url(null, [], ['query' => $params], true); <?php endforeach; ?> </tbody> </table> </div> <script> $(function () { Loading