Loading documentation/release/3.0.1.md +3 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ * Ajout d'un état annulé aux événements afin de faciliter la gestion (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout d'un filtre sur les événements pour réduire l'affichage (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout de mots clefs aux événements pour les lier à des entités de la même façon que les mails ou les rendus (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout de paramètres sur les sessions de formation : mails, événements et l'enquête * ```sql -- partie ACTION Loading module/Formation/src/Formation/View/Helper/partial/formation-informations.phtml +24 −2 Original line number Diff line number Diff line Loading @@ -8,16 +8,38 @@ */ use Formation\Entity\Db\Formation; use Formation\Provider\Privilege\FormationgroupePrivileges; use Formation\Provider\Privilege\FormationPrivileges; $canAfficherActionFormation = $this->isAllowed(FormationPrivileges::getResourceId(FormationPrivileges::FORMATION_AFFICHER)); $canAfficherGroupeFormation = $this->isAllowed(FormationgroupePrivileges::getResourceId(FormationgroupePrivileges::FORMATIONGROUPE_AFFICHER)); ?> <?php if ($mode === 'liste') : ?> <dl class="row"> <dt class="col-md-3"> Libellé </dt> <dd class="col-md-9"> <?php echo $formation->getLibelle(); ?> </dd> <dd class="col-md-9"> <?php if ($canAfficherActionFormation) : ?> <a href="<?php echo $this->url("formation/editer", ['formation' => $formation->getId()], [], true); ?>" title="Accéder à l'action de formation"> <?php echo $formation->getLibelle(); ?> </a> <?php else : ?> <?php echo $formation->getLibelle(); ?> <?php endif; ?> </dd> <?php if ($formation->getGroupe() !== null) : ?> <dt class="col-md-3"> Groupe </dt> <dd class="col-md-9"> <?php echo $formation->getGroupe()->getLibelle(); ?> </dd> <dd class="col-md-9"> <?php if ($canAfficherGroupeFormation) : ?> <a href="<?php echo $this->url("formation-groupe/afficher", ['formation-groupe' => $formation->getGroupe()->getId()], [], true); ?>" title="Accéder au groupe de formation"> <?php echo $formation->getGroupe()->getLibelle(); ?> </a> <?php else : ?> <?php echo $formation->getGroupe()->getLibelle(); ?> <?php endif; ?> </dd> <?php endif; ?> <?php if ($formation->getLien() !== null AND trim ($formation->getLien()) !== "") : ?> <dt class="col-md-3"> Lien </dt> Loading Loading
documentation/release/3.0.1.md +3 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ * Ajout d'un état annulé aux événements afin de faciliter la gestion (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout d'un filtre sur les événements pour réduire l'affichage (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout de mots clefs aux événements pour les lier à des entités de la même façon que les mails ou les rendus (unicaen/evenement 5.0.1 -> 5.0.2) * Ajout de paramètres sur les sessions de formation : mails, événements et l'enquête * ```sql -- partie ACTION Loading
module/Formation/src/Formation/View/Helper/partial/formation-informations.phtml +24 −2 Original line number Diff line number Diff line Loading @@ -8,16 +8,38 @@ */ use Formation\Entity\Db\Formation; use Formation\Provider\Privilege\FormationgroupePrivileges; use Formation\Provider\Privilege\FormationPrivileges; $canAfficherActionFormation = $this->isAllowed(FormationPrivileges::getResourceId(FormationPrivileges::FORMATION_AFFICHER)); $canAfficherGroupeFormation = $this->isAllowed(FormationgroupePrivileges::getResourceId(FormationgroupePrivileges::FORMATIONGROUPE_AFFICHER)); ?> <?php if ($mode === 'liste') : ?> <dl class="row"> <dt class="col-md-3"> Libellé </dt> <dd class="col-md-9"> <?php echo $formation->getLibelle(); ?> </dd> <dd class="col-md-9"> <?php if ($canAfficherActionFormation) : ?> <a href="<?php echo $this->url("formation/editer", ['formation' => $formation->getId()], [], true); ?>" title="Accéder à l'action de formation"> <?php echo $formation->getLibelle(); ?> </a> <?php else : ?> <?php echo $formation->getLibelle(); ?> <?php endif; ?> </dd> <?php if ($formation->getGroupe() !== null) : ?> <dt class="col-md-3"> Groupe </dt> <dd class="col-md-9"> <?php echo $formation->getGroupe()->getLibelle(); ?> </dd> <dd class="col-md-9"> <?php if ($canAfficherGroupeFormation) : ?> <a href="<?php echo $this->url("formation-groupe/afficher", ['formation-groupe' => $formation->getGroupe()->getId()], [], true); ?>" title="Accéder au groupe de formation"> <?php echo $formation->getGroupe()->getLibelle(); ?> </a> <?php else : ?> <?php echo $formation->getGroupe()->getLibelle(); ?> <?php endif; ?> </dd> <?php endif; ?> <?php if ($formation->getLien() !== null AND trim ($formation->getLien()) !== "") : ?> <dt class="col-md-3"> Lien </dt> Loading