Commit 99151458 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Edition ED/UR: correction bug

parent da243d68
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for module/Application/view/application/ecole-doctorale/modifier.phtml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -26,10 +26,10 @@ $form->get('sourceCode')->setAttribute('readonly', !$editable);
?>

<h1 class="page-header">
    <?php if ($isUpdating): ?>
    Modification de l'ED &laquo; <?php echo $ecole->getLibelle(); ?> &raquo;
    <?php else: ?>
    <?php if ($isNew): ?>
        Création d'une nouvelle ED
    <?php else: ?>
        Modification de l'ED &laquo; <?php echo $ecole->getLibelle(); ?> &raquo;
    <?php endif ?>
</h1>

+4 −4
Changes for module/Application/view/application/unite-recherche/modifier.phtml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ use Application\View\Renderer\PhpRenderer;
/** @var UniteRecherche $unite */
$unite = $form->getObject();
$idUniteRecherche = $unite->getStructure()->getId();
$isUpdating = $unite->getId() !== null;
$isNew = $unite->getId() === null;
$estSubstituante = $unite->getStructure()->estStructureSubstituante();
$fcg = $this->formControlGroup();
$this->headTitle("Modification de l'UR " . $unite->getCode());
@@ -36,10 +36,10 @@ $form->get('sourceCode')->setAttribute('readonly', !$editable);

<h1 class="page-header">
    Modification de l'UR &laquo; <?php echo $unite->getLibelle(); ?> &raquo;
    <?php if ($isUpdating): ?>
        Modification de l'UR &laquo; <?php echo $unite->getLibelle(); ?> &raquo;
    <?php else: ?>
    <?php if ($isNew): ?>
        Création d'une nouvelle UR
    <?php else: ?>
        Modification de l'UR &laquo; <?php echo $unite->getLibelle(); ?> &raquo;
    <?php endif ?>
</h1>