Loading CHANGELOG.md +4 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,10 @@ Journal des modifications 2.1.2 (en cours) ----- - Ajout de la gestion des co-encadrants - Gestion des co-encadrants (ajout et retrait) - Listing (et export) des co-encadrants sur les EDs et URs - Ajout à l'export de l'annuaire des co-encadrants - Onglets dans les pages d'information des structures 2.1.1 ----- Loading module/Application/view/application/ecole-doctorale/information.phtml +134 −99 Original line number Diff line number Diff line Loading @@ -32,7 +32,39 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" > Informations générales </a> </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > Rôles et membres </a> </li> <li role="presentation"> <a href="#coencadrants" role="tab" aria-controls="coencadrants" data-toggle="tab" > Co-encadrants </a> </li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -82,7 +114,15 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </dl> </div> </div> <div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('ecole-doctorale/modifier', ['structure' => $ecole->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'école doctorale </a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <h2> Rôles et membres </h2> Loading Loading @@ -129,10 +169,6 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </table> </div> </div> </div> </div> <hr> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', [ Loading @@ -140,12 +176,9 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co 'type' => TypeStructure::CODE_ECOLE_DOCTORALE], [], true); ?>" class="btn btn-warning"><span class="glyphicon glyphicon-cog"></span> Générer rôles par défaut</a> <?php endif; ?> </div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('ecole-doctorale/modifier', ['structure' => $ecole->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'école doctorale </a> <?php endif; ?> <div role="tabpanel" class="tab-pane" id="coencadrants"> <h2> Co-encadrants Loading Loading @@ -182,3 +215,5 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </li> <?php endforeach; ?> </ul> </div> </div> module/Application/view/application/etablissement/information.phtml +95 −77 Original line number Diff line number Diff line Loading @@ -24,32 +24,30 @@ $canAddRole = true; <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <a href="<?php echo $this->url('etablissement', [], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-th-list"></span> Index des établissements </a> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" <?php if($canEdit): ?> <a href="<?php echo $this->url('etablissement/modifier', ['structure'=> $etablissement->getStructure()->getId()], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-pencil"></span> Modifier l'établissement Informations générales </a> <?php endif; ?> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', ['id' => $etablissement->getStructure()->getId(), 'type' => TypeStructure::CODE_ETABLISSEMENT], [], true);?>" class="btn btn-warning" </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > <span class="glyphicon glyphicon-refresh"></span> Générer rôles par défaut Rôles et membres </a> <?php endif; ?> </li> </ul> <div> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -101,10 +99,18 @@ $canAddRole = true; </dl> </div> </div> <?php if($canEdit): ?> <a href="<?php echo $this->url('etablissement/modifier', ['structure'=> $etablissement->getStructure()->getId()], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-pencil"></span> Modifier l'établissement </a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <div> <h2> Rôles et membres </h2> Loading @@ -128,6 +134,18 @@ $canAddRole = true; </div> <?php endforeach; ?> </div> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', ['id' => $etablissement->getStructure()->getId(), 'type' => TypeStructure::CODE_ETABLISSEMENT], [], true);?>" class="btn btn-warning" > <span class="glyphicon glyphicon-refresh"></span> Générer rôles par défaut </a> <?php endif; ?> </div> </div> <style> Loading module/Application/view/application/unite-recherche/information.phtml +186 −148 Original line number Diff line number Diff line Loading @@ -33,6 +33,39 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" > Informations générales </a> </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > Rôles et membres </a> </li> <li role="presentation"> <a href="#coencadrants" role="tab" aria-controls="coencadrants" data-toggle="tab" > Co-encadrants </a> </li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -92,7 +125,14 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </div> </div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('unite-recherche/modifier', ['structure' => $unite->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'unité de recherche</a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <h2> Rôles et membres </h2> Loading Loading @@ -140,8 +180,6 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </div> </div> <hr> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', [ 'id' => $unite->getStructure()->getId(), Loading @@ -149,11 +187,9 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co class="btn btn-warning"><span class="glyphicon glyphicon-cog"></span>Générer rôles par défaut</a> <?php endif; ?> <?php if ($canEdit): ?> <a href="<?php echo $this->url('unite-recherche/modifier', ['structure' => $unite->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'unité de recherche</a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="coencadrants"> <h2> Co-encadrants Loading Loading @@ -191,3 +227,5 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php endforeach; ?> </ul> </div> </div> Loading
CHANGELOG.md +4 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,10 @@ Journal des modifications 2.1.2 (en cours) ----- - Ajout de la gestion des co-encadrants - Gestion des co-encadrants (ajout et retrait) - Listing (et export) des co-encadrants sur les EDs et URs - Ajout à l'export de l'annuaire des co-encadrants - Onglets dans les pages d'information des structures 2.1.1 ----- Loading
module/Application/view/application/ecole-doctorale/information.phtml +134 −99 Original line number Diff line number Diff line Loading @@ -32,7 +32,39 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" > Informations générales </a> </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > Rôles et membres </a> </li> <li role="presentation"> <a href="#coencadrants" role="tab" aria-controls="coencadrants" data-toggle="tab" > Co-encadrants </a> </li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -82,7 +114,15 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </dl> </div> </div> <div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('ecole-doctorale/modifier', ['structure' => $ecole->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'école doctorale </a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <h2> Rôles et membres </h2> Loading Loading @@ -129,10 +169,6 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </table> </div> </div> </div> </div> <hr> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', [ Loading @@ -140,12 +176,9 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co 'type' => TypeStructure::CODE_ECOLE_DOCTORALE], [], true); ?>" class="btn btn-warning"><span class="glyphicon glyphicon-cog"></span> Générer rôles par défaut</a> <?php endif; ?> </div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('ecole-doctorale/modifier', ['structure' => $ecole->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'école doctorale </a> <?php endif; ?> <div role="tabpanel" class="tab-pane" id="coencadrants"> <h2> Co-encadrants Loading Loading @@ -182,3 +215,5 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </li> <?php endforeach; ?> </ul> </div> </div>
module/Application/view/application/etablissement/information.phtml +95 −77 Original line number Diff line number Diff line Loading @@ -24,32 +24,30 @@ $canAddRole = true; <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <a href="<?php echo $this->url('etablissement', [], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-th-list"></span> Index des établissements </a> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" <?php if($canEdit): ?> <a href="<?php echo $this->url('etablissement/modifier', ['structure'=> $etablissement->getStructure()->getId()], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-pencil"></span> Modifier l'établissement Informations générales </a> <?php endif; ?> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', ['id' => $etablissement->getStructure()->getId(), 'type' => TypeStructure::CODE_ETABLISSEMENT], [], true);?>" class="btn btn-warning" </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > <span class="glyphicon glyphicon-refresh"></span> Générer rôles par défaut Rôles et membres </a> <?php endif; ?> </li> </ul> <div> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -101,10 +99,18 @@ $canAddRole = true; </dl> </div> </div> <?php if($canEdit): ?> <a href="<?php echo $this->url('etablissement/modifier', ['structure'=> $etablissement->getStructure()->getId()], [], true); ?>" class="btn btn-primary action" > <span class="glyphicon glyphicon-pencil"></span> Modifier l'établissement </a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <div> <h2> Rôles et membres </h2> Loading @@ -128,6 +134,18 @@ $canAddRole = true; </div> <?php endforeach; ?> </div> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', ['id' => $etablissement->getStructure()->getId(), 'type' => TypeStructure::CODE_ETABLISSEMENT], [], true);?>" class="btn btn-warning" > <span class="glyphicon glyphicon-refresh"></span> Générer rôles par défaut </a> <?php endif; ?> </div> </div> <style> Loading
module/Application/view/application/unite-recherche/information.phtml +186 −148 Original line number Diff line number Diff line Loading @@ -33,6 +33,39 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#informations" role="tab" aria-controls="informations" data-toggle="tab" > Informations générales </a> </li> <li role="presentation"> <a href="#membres" role="tab" aria-controls="membres" data-toggle="tab" > Rôles et membres </a> </li> <li role="presentation"> <a href="#coencadrants" role="tab" aria-controls="coencadrants" data-toggle="tab" > Co-encadrants </a> </li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane in active" id="informations"> <h2> Informations générales </h2> Loading Loading @@ -92,7 +125,14 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </div> </div> <?php if ($canEdit): ?> <a href="<?php echo $this->url('unite-recherche/modifier', ['structure' => $unite->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'unité de recherche</a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="membres"> <h2> Rôles et membres </h2> Loading Loading @@ -140,8 +180,6 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co </div> </div> <hr> <?php if ($canAddRole && empty($roleListing)): ?> <a href="<?php echo $this->url('structure/generer-roles-defauts', [ 'id' => $unite->getStructure()->getId(), Loading @@ -149,11 +187,9 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co class="btn btn-warning"><span class="glyphicon glyphicon-cog"></span>Générer rôles par défaut</a> <?php endif; ?> <?php if ($canEdit): ?> <a href="<?php echo $this->url('unite-recherche/modifier', ['structure' => $unite->getStructure()->getId()], [], true); ?>" class="btn btn-primary action"><span class="glyphicon glyphicon-pencil"></span> Modifier l'unité de recherche</a> <?php endif; ?> </div> <div role="tabpanel" class="tab-pane" id="coencadrants"> <h2> Co-encadrants Loading Loading @@ -191,3 +227,5 @@ $canCoencadrantExport = $this->isAllowed(CoEncadrantPrivileges::getResourceId(Co <?php endforeach; ?> </ul> </div> </div>