Commit d0320b17 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

test

parent d399cc5a
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/view/application/agent/afficher.phtml: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ use UnicaenUtilisateur\Entity\Db\User;
 * @var AgentMissionSpecifique[] missions
 */

if ($agent !== null) {
    $canVoir = $this->isAllowed($agent, AgentPrivileges::AGENT_ELEMENT_VOIR);
    $canAjouter = $this->isAllowed($agent, AgentPrivileges::AGENT_ELEMENT_AJOUTER);
    $canModifier = $this->isAllowed($agent, AgentPrivileges::AGENT_ELEMENT_MODIFIER);
@@ -45,7 +46,7 @@ $options['actions'] = [
    ];

    $this->headTitle("Affichage de l'agent : " . $agent->getDenomination());

}
?>

<?php if ($agent !== null) : ?>