Loading module/Application/view/application/fiche-poste/afficher.phtml +2 −1 Changes for module/Application/view/application/fiche-poste/afficher.phtml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ $canAfficher = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_AFFICHE ?> <h1 class="page-header"> Fiche de poste #<?php echo $fiche->getId(); ?> <!-- Fiche de poste #--><?php //echo $fiche->getId(); ?><!-- <br/>--> <?php echo $this->partial('partial/intitule', ['ficheposte' => $fiche], [], true); ?> </h1> <?php if (! $canAfficher) : ?> Loading module/Application/view/application/fiche-poste/editer.phtml +3 −12 Changes for module/Application/view/application/fiche-poste/editer.phtml: 3 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -31,10 +31,6 @@ $canModifier = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_MODIFIE $this->headTitle("Modification de la fiche de poste #".$fiche->getId()); ?> <h1 class="page-header"> Modification de la fiche de poste #<?php echo $fiche->getId(); ?> </h1> <?php if (! $canModifier ) : ?> <div class="alert alert-danger col-md-8"> Loading @@ -52,15 +48,10 @@ $this->headTitle("Modification de la fiche de poste #".$fiche->getId()); </style> <div class="row"> <div class="col-md-8"> <div class="col-md-9"> <h1 class="page-header"> Fiche de poste #<?php echo $fiche->getId(); ?><br/> <strong> <?php echo ($fiche->getFicheTypeExternePrincipale())?$fiche->getFicheTypeExternePrincipale()->getFicheType()->getMetier()->getLibelle():"<span class='icon attention' style='color:darkred;'></span> Aucun fiche principale"; ?> <?php if($fiche->getLibelle() !== null) : ?> (<?php echo $fiche->getLibelle(); ?>) <?php endif; ?> </strong> <!-- Fiche de poste #--><?php //echo $fiche->getId(); ?><!--<br/>--> <?php echo $this->partial('partial/intitule', ['ficheposte' => $fiche], [], true); ?> </h1> </div> <div class="pull-right"> Loading module/Application/view/application/fiche-poste/index.phtml +2 −1 Changes for module/Application/view/application/fiche-poste/index.phtml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ $canDetruire = $this->isAllowed(FichePostePrivileges::getResourceId(FichePost <div class="main"> <?php if ($canAjouter) : ?> <?php /** @see FichePosteController::ajouterAction() */ ?> <a href="<?php echo $this->url('fiche-poste/ajouter', [], [], true); ?>" class="btn btn-primary ajax-modal" data-event="modification"> <a href="<?php echo $this->url('fiche-poste/ajouter', [], [], true); ?>" class="btn btn-primary"> <span class="icon ajouter"></span> Ajouter une fiche de poste </a> Loading module/Application/view/application/fiche-poste/partial/intitule.phtml +31 Changes for module/Application/view/application/fiche-poste/partial/intitule.phtml: 31 added lines, 0 removed lines. Original line number Diff line number Diff line <?php use Application\Entity\Db\FichePoste; /** * @var FichePoste $ficheposte */ $ficheprincipale = null; if ($ficheposte->getFicheTypeExternePrincipale()) { $ficheprincipale = $ficheposte->getFicheTypeExternePrincipale()->getFicheType()->getMetier()->getLibelle(); }else { $ficheprincipale = "Aucune fiche métier principale"; } $saisielibre = $ficheposte->getLibelle(); ?> <?php if ($saisielibre) : ?> <strong> <?php echo $saisielibre; ?> </strong> <br/> Rattachée à <?php endif; ?> <strong> <?php echo $ficheprincipale; ?> </strong> Loading
module/Application/view/application/fiche-poste/afficher.phtml +2 −1 Changes for module/Application/view/application/fiche-poste/afficher.phtml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ $canAfficher = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_AFFICHE ?> <h1 class="page-header"> Fiche de poste #<?php echo $fiche->getId(); ?> <!-- Fiche de poste #--><?php //echo $fiche->getId(); ?><!-- <br/>--> <?php echo $this->partial('partial/intitule', ['ficheposte' => $fiche], [], true); ?> </h1> <?php if (! $canAfficher) : ?> Loading
module/Application/view/application/fiche-poste/editer.phtml +3 −12 Changes for module/Application/view/application/fiche-poste/editer.phtml: 3 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -31,10 +31,6 @@ $canModifier = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_MODIFIE $this->headTitle("Modification de la fiche de poste #".$fiche->getId()); ?> <h1 class="page-header"> Modification de la fiche de poste #<?php echo $fiche->getId(); ?> </h1> <?php if (! $canModifier ) : ?> <div class="alert alert-danger col-md-8"> Loading @@ -52,15 +48,10 @@ $this->headTitle("Modification de la fiche de poste #".$fiche->getId()); </style> <div class="row"> <div class="col-md-8"> <div class="col-md-9"> <h1 class="page-header"> Fiche de poste #<?php echo $fiche->getId(); ?><br/> <strong> <?php echo ($fiche->getFicheTypeExternePrincipale())?$fiche->getFicheTypeExternePrincipale()->getFicheType()->getMetier()->getLibelle():"<span class='icon attention' style='color:darkred;'></span> Aucun fiche principale"; ?> <?php if($fiche->getLibelle() !== null) : ?> (<?php echo $fiche->getLibelle(); ?>) <?php endif; ?> </strong> <!-- Fiche de poste #--><?php //echo $fiche->getId(); ?><!--<br/>--> <?php echo $this->partial('partial/intitule', ['ficheposte' => $fiche], [], true); ?> </h1> </div> <div class="pull-right"> Loading
module/Application/view/application/fiche-poste/index.phtml +2 −1 Changes for module/Application/view/application/fiche-poste/index.phtml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ $canDetruire = $this->isAllowed(FichePostePrivileges::getResourceId(FichePost <div class="main"> <?php if ($canAjouter) : ?> <?php /** @see FichePosteController::ajouterAction() */ ?> <a href="<?php echo $this->url('fiche-poste/ajouter', [], [], true); ?>" class="btn btn-primary ajax-modal" data-event="modification"> <a href="<?php echo $this->url('fiche-poste/ajouter', [], [], true); ?>" class="btn btn-primary"> <span class="icon ajouter"></span> Ajouter une fiche de poste </a> Loading
module/Application/view/application/fiche-poste/partial/intitule.phtml +31 Changes for module/Application/view/application/fiche-poste/partial/intitule.phtml: 31 added lines, 0 removed lines. Original line number Diff line number Diff line <?php use Application\Entity\Db\FichePoste; /** * @var FichePoste $ficheposte */ $ficheprincipale = null; if ($ficheposte->getFicheTypeExternePrincipale()) { $ficheprincipale = $ficheposte->getFicheTypeExternePrincipale()->getFicheType()->getMetier()->getLibelle(); }else { $ficheprincipale = "Aucune fiche métier principale"; } $saisielibre = $ficheposte->getLibelle(); ?> <?php if ($saisielibre) : ?> <strong> <?php echo $saisielibre; ?> </strong> <br/> Rattachée à <?php endif; ?> <strong> <?php echo $ficheprincipale; ?> </strong>