Loading module/Application/view/application/these/validation-these-corrigee.phtml +23 −3 Changes for module/Application/view/application/these/validation-these-corrigee.phtml: 23 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -52,15 +52,21 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT Version à récupérer <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC'], [], true); ?>">Version originale</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC'], [], true); ?>">Version originale</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC', 'removal' => true], [], true); ?>">Version originale</a></li> <?php if ($hasVDC): ?> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC'], [], true); ?>">Version diffusion</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC'], [], true); ?>">Version diffusion</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC', 'removal' => true], [], true); ?>">Version diffusion</a></li> <?php endif; ?> <?php if ($hasVAC): ?> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC'], [], true); ?>">Version archivable</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC' ], [], true); ?>">Version archivable</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC', 'removal' => true ], [], true); ?>">Version archivable</a></li> <?php endif; ?> </ul> </div> <div> <input type="checkbox" id="removal" /> Retrait de la page de couverture fournie par le doctorant. </div> <?php endif; ?> </div> </div> Loading @@ -84,6 +90,8 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT <script> $(".removal").hide(); $(function () { var body = $("body"); var self = this; Loading Loading @@ -134,6 +142,18 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT refreshingNextStep ], self); $("input#removal").on("change", function(event, data) { var test = $(this).is(':checked'); if (test) { $(".removal").show(); $(".complete").hide(); } else { $(".removal").hide(); $(".complete").show(); } }); // Validation dépôt thèse corrigée enregistrée dans la modale body.on("event-validation-depot-these-corrigee", function (event) { // Les métadonnées viennent d'être modifiées. Loading Loading
module/Application/view/application/these/validation-these-corrigee.phtml +23 −3 Changes for module/Application/view/application/these/validation-these-corrigee.phtml: 23 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -52,15 +52,21 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT Version à récupérer <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC'], [], true); ?>">Version originale</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC'], [], true); ?>">Version originale</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VOC', 'removal' => true], [], true); ?>">Version originale</a></li> <?php if ($hasVDC): ?> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC'], [], true); ?>">Version diffusion</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC'], [], true); ?>">Version diffusion</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VDC', 'removal' => true], [], true); ?>">Version diffusion</a></li> <?php endif; ?> <?php if ($hasVAC): ?> <li><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC'], [], true); ?>">Version archivable</a></li> <li class="complete"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC' ], [], true); ?>">Version archivable</a></li> <li class="removal"><a href="<?php echo $this->url('these/fusion', ['these' => $these->getId(), 'corrigee' => 1, 'version' => 'VAC', 'removal' => true ], [], true); ?>">Version archivable</a></li> <?php endif; ?> </ul> </div> <div> <input type="checkbox" id="removal" /> Retrait de la page de couverture fournie par le doctorant. </div> <?php endif; ?> </div> </div> Loading @@ -84,6 +90,8 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT <script> $(".removal").hide(); $(function () { var body = $("body"); var self = this; Loading Loading @@ -134,6 +142,18 @@ $canUnvalidate = $this->isAllowed($these, ValidationPrivileges::VALIDATION_DEPOT refreshingNextStep ], self); $("input#removal").on("change", function(event, data) { var test = $(this).is(':checked'); if (test) { $(".removal").show(); $(".complete").hide(); } else { $(".removal").hide(); $(".complete").show(); } }); // Validation dépôt thèse corrigée enregistrée dans la modale body.on("event-validation-depot-these-corrigee", function (event) { // Les métadonnées viennent d'être modifiées. Loading