Loading module/Application/src/Application/Controller/Rapport/RapportCsiRechercheController.php +11 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,15 @@ class RapportCsiRechercheController extends RapportRechercheController protected $title = "Rapports CSI"; public function indexAction() { $model = parent::indexAction(); $model->setVariables([ 'autorisationsInscriptionParAnneeUniv' => null, 'autorisationsDiplomationParAnneeUniv' => null, ]); return $model; } } No newline at end of file module/Application/view/application/rapport/partial/rapports-table.phtml +7 −4 Original line number Diff line number Diff line Loading @@ -189,8 +189,8 @@ $acteursFormatterCodirecteurs->asSeparated() <?php if ($displayDoctorant): ?> <td> <a href="<?php echo $this->url('these/identite', ['these' => $these->getId()], [], true) ?>" title="<?php echo $these->getTitre() ?>"> <a href="<?php echo $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?>" title="Cliquez pour accéder aux rapports du doctorant"> <?php echo $these->getDoctorant() ?> </a> </td> Loading Loading @@ -282,7 +282,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php if ($displayValidation): ?> <td class="<?php echo $classRapport ?>"> <?php $returnUrl = $returnUrl ?: $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?> <?php $returnUrl = $returnUrl ?? $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?> <?php if ($rapportValidation !== null): ?> <p> <span class="icon icon-ok"></span> <strong>Validé</strong> <br> Loading Loading @@ -316,7 +316,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php endif; ?> <td class="action"> <?php //if (isset($autorisationsInscriptionParAnneeUniv)): ?> <?php if (isset($autorisationsInscriptionParAnneeUniv)): ?> <!----------------- Autorisation de réinscription -----------------> <?php /** @var AutorisationInscriptionThese|null $autorisationInscription */ Loading @@ -331,7 +331,9 @@ $acteursFormatterCodirecteurs->asSeparated() <?php echo $this->partial('autorisation-inscription-these/autorisation-inscription-these/partial/card', [ 'autorisation' => $autorisationInscription, ]); ?> <?php endif ?> <?php if (isset($autorisationsDiplomationParAnneeUniv)): ?> <!----------------- Autorisation de diplomation -----------------> <?php /** @var AutorisationDiplomationThese|null $autorisationDiplomationThese */ Loading @@ -346,6 +348,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php echo $this->partial('autorisation-diplomation-these/autorisation-diplomation-these/partial/card', [ 'autorisation' => $autorisationDiplomationThese, ]); ?> <?php endif ?> </td> </tr> <?php endforeach; ?> Loading module/AutorisationDiplomationThese/view/autorisation-diplomation-these/autorisation-diplomation-these/partial/card.phtml +5 −4 Original line number Diff line number Diff line Loading @@ -52,10 +52,12 @@ use AutorisationDiplomationThese\Provider\Privilege\AutorisationDiplomationThese ?> <div class="card text-center <?= $class ?> w-100"> <div class="card-header"> <span class="fa fa-graduation-cap"></span> <?= $autorisation ?> <strong><span class="fa fa-graduation-cap"></span> <?= $autorisation ?></strong> </div> <div class="card-body"> <h6 class="card-title"><span class="<?= $icon ?>"></span> Autorisation <strong><?= $accord ?></strong></h6> <div class="card-body p-1"> <p class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <?= $accord ?> </p> <?php if ($comm = $autorisation->getCommentaires()): ?> <p class="card-text">Commentaires : <?= $comm ?></p> <?php endif; ?> Loading @@ -64,7 +66,6 @@ use AutorisationDiplomationThese\Provider\Privilege\AutorisationDiplomationThese le <?php echo ($autorisation->getHistoModification() ?: $autorisation->getHistoCreation())->format(Constants::DATETIME_FORMAT) ?> </p> <?php if ($canVoir): ?> <hr class="m-2"> <a <?php /** @see \AutorisationDiplomationThese\Controller\AutorisationDiplomationTheseController::indexAction() */ ?> title="Aller à la fiche détaillée de cette autorisation" href="<?php echo $this->url('autorisation-diplomation-these/voir', [ Loading module/AutorisationInscriptionThese/view/autorisation-inscription-these/autorisation-inscription-these/partial/card.phtml +10 −8 Original line number Diff line number Diff line Loading @@ -51,12 +51,12 @@ use AutorisationInscriptionThese\Provider\Privilege\AutorisationInscriptionThese ?> <div class="card text-center <?= $class ?> w-100"> <div class="card-header"> <span class="fa fa-redo"></span> <?= $autorisation ?> <strong><span class="fa fa-redo"></span> <?= $autorisation ?></strong> </div> <div class="card-body"> <h6 class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <strong><?= $accord ?></strong> </h6> <div class="card-body p-1"> <p class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <?= $accord ?> </p> <?php if ($comm = $autorisation->getCommentaires()): ?> <p class="card-text">Commentaires : <?= $comm ?></p> <?php endif; ?> Loading @@ -65,10 +65,12 @@ use AutorisationInscriptionThese\Provider\Privilege\AutorisationInscriptionThese le <?php echo ($autorisation->getHistoModification() ?: $autorisation->getHistoCreation())->format(Constants::DATETIME_FORMAT) ?> </p> <?php if ($canVoirAutorisation): ?> <hr class="m-2"> <a <?php /** @see AutorisationInscriptionTheseController::indexAction() */ ?> title="Aller à la liste des autorisations d'inscription" href="<?php echo $this->url('autorisation-inscription-these'); ?>">Autorisations d'inscription</a> title="Aller à la fiche détaillée de cette autorisation" href="<?php echo $this->url('autorisation-inscription-these/voir', [ 'autorisationInscriptionThese' => $autorisation->getId()]) ?>"> <span class="icon icon-voir"></span> Détails </a> <?php endif; ?> </div> </div> Loading Loading
module/Application/src/Application/Controller/Rapport/RapportCsiRechercheController.php +11 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,15 @@ class RapportCsiRechercheController extends RapportRechercheController protected $title = "Rapports CSI"; public function indexAction() { $model = parent::indexAction(); $model->setVariables([ 'autorisationsInscriptionParAnneeUniv' => null, 'autorisationsDiplomationParAnneeUniv' => null, ]); return $model; } } No newline at end of file
module/Application/view/application/rapport/partial/rapports-table.phtml +7 −4 Original line number Diff line number Diff line Loading @@ -189,8 +189,8 @@ $acteursFormatterCodirecteurs->asSeparated() <?php if ($displayDoctorant): ?> <td> <a href="<?php echo $this->url('these/identite', ['these' => $these->getId()], [], true) ?>" title="<?php echo $these->getTitre() ?>"> <a href="<?php echo $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?>" title="Cliquez pour accéder aux rapports du doctorant"> <?php echo $these->getDoctorant() ?> </a> </td> Loading Loading @@ -282,7 +282,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php if ($displayValidation): ?> <td class="<?php echo $classRapport ?>"> <?php $returnUrl = $returnUrl ?: $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?> <?php $returnUrl = $returnUrl ?? $this->url($routeName . '/consulter', ['these' => $these->getId()]) ?> <?php if ($rapportValidation !== null): ?> <p> <span class="icon icon-ok"></span> <strong>Validé</strong> <br> Loading Loading @@ -316,7 +316,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php endif; ?> <td class="action"> <?php //if (isset($autorisationsInscriptionParAnneeUniv)): ?> <?php if (isset($autorisationsInscriptionParAnneeUniv)): ?> <!----------------- Autorisation de réinscription -----------------> <?php /** @var AutorisationInscriptionThese|null $autorisationInscription */ Loading @@ -331,7 +331,9 @@ $acteursFormatterCodirecteurs->asSeparated() <?php echo $this->partial('autorisation-inscription-these/autorisation-inscription-these/partial/card', [ 'autorisation' => $autorisationInscription, ]); ?> <?php endif ?> <?php if (isset($autorisationsDiplomationParAnneeUniv)): ?> <!----------------- Autorisation de diplomation -----------------> <?php /** @var AutorisationDiplomationThese|null $autorisationDiplomationThese */ Loading @@ -346,6 +348,7 @@ $acteursFormatterCodirecteurs->asSeparated() <?php echo $this->partial('autorisation-diplomation-these/autorisation-diplomation-these/partial/card', [ 'autorisation' => $autorisationDiplomationThese, ]); ?> <?php endif ?> </td> </tr> <?php endforeach; ?> Loading
module/AutorisationDiplomationThese/view/autorisation-diplomation-these/autorisation-diplomation-these/partial/card.phtml +5 −4 Original line number Diff line number Diff line Loading @@ -52,10 +52,12 @@ use AutorisationDiplomationThese\Provider\Privilege\AutorisationDiplomationThese ?> <div class="card text-center <?= $class ?> w-100"> <div class="card-header"> <span class="fa fa-graduation-cap"></span> <?= $autorisation ?> <strong><span class="fa fa-graduation-cap"></span> <?= $autorisation ?></strong> </div> <div class="card-body"> <h6 class="card-title"><span class="<?= $icon ?>"></span> Autorisation <strong><?= $accord ?></strong></h6> <div class="card-body p-1"> <p class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <?= $accord ?> </p> <?php if ($comm = $autorisation->getCommentaires()): ?> <p class="card-text">Commentaires : <?= $comm ?></p> <?php endif; ?> Loading @@ -64,7 +66,6 @@ use AutorisationDiplomationThese\Provider\Privilege\AutorisationDiplomationThese le <?php echo ($autorisation->getHistoModification() ?: $autorisation->getHistoCreation())->format(Constants::DATETIME_FORMAT) ?> </p> <?php if ($canVoir): ?> <hr class="m-2"> <a <?php /** @see \AutorisationDiplomationThese\Controller\AutorisationDiplomationTheseController::indexAction() */ ?> title="Aller à la fiche détaillée de cette autorisation" href="<?php echo $this->url('autorisation-diplomation-these/voir', [ Loading
module/AutorisationInscriptionThese/view/autorisation-inscription-these/autorisation-inscription-these/partial/card.phtml +10 −8 Original line number Diff line number Diff line Loading @@ -51,12 +51,12 @@ use AutorisationInscriptionThese\Provider\Privilege\AutorisationInscriptionThese ?> <div class="card text-center <?= $class ?> w-100"> <div class="card-header"> <span class="fa fa-redo"></span> <?= $autorisation ?> <strong><span class="fa fa-redo"></span> <?= $autorisation ?></strong> </div> <div class="card-body"> <h6 class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <strong><?= $accord ?></strong> </h6> <div class="card-body p-1"> <p class="card-title"> <span class="<?= $icon ?>"></span> Autorisation <?= $accord ?> </p> <?php if ($comm = $autorisation->getCommentaires()): ?> <p class="card-text">Commentaires : <?= $comm ?></p> <?php endif; ?> Loading @@ -65,10 +65,12 @@ use AutorisationInscriptionThese\Provider\Privilege\AutorisationInscriptionThese le <?php echo ($autorisation->getHistoModification() ?: $autorisation->getHistoCreation())->format(Constants::DATETIME_FORMAT) ?> </p> <?php if ($canVoirAutorisation): ?> <hr class="m-2"> <a <?php /** @see AutorisationInscriptionTheseController::indexAction() */ ?> title="Aller à la liste des autorisations d'inscription" href="<?php echo $this->url('autorisation-inscription-these'); ?>">Autorisations d'inscription</a> title="Aller à la fiche détaillée de cette autorisation" href="<?php echo $this->url('autorisation-inscription-these/voir', [ 'autorisationInscriptionThese' => $autorisation->getId()]) ?>"> <span class="icon icon-voir"></span> Détails </a> <?php endif; ?> </div> </div> Loading