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

Retravail de la fiche de poste

parent 98d76766
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+0 −0

Empty file added.

+2 −0
Changes for module/Application/config/merged/competence.config.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ use Application\Form\SelectionMaitriseNiveau\SelectionMaitriseNiveauHydrator;
use Application\Form\SelectionMaitriseNiveau\SelectionMaitriseNiveauHydratorFactory;
use Application\Provider\Privilege\AgentPrivileges;
use Application\Provider\Privilege\CompetencePrivileges;
use Application\Provider\Privilege\FicheMetierPrivileges;
use Application\Service\Competence\CompetenceService;
use Application\Service\Competence\CompetenceServiceFactory;
use Application\Service\CompetenceElement\CompetenceElementService;
@@ -159,6 +160,7 @@ return [
                    ],
                    'privileges' => [
                        AgentPrivileges::AGENT_ACQUIS_MODIFIER,
                        FicheMetierPrivileges::FICHEMETIER_MODIFIER,
                    ],
                ],
            ],
+18 −0
Changes for module/Application/config/merged/structure.config.php: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -54,6 +54,13 @@ return [
                    ],
                    'privileges' => StructurePrivileges::STRUCTURE_AFFICHER,
                ],
                [
                    'controller' => StructureController::class,
                    'action' => [
                        'ajouter-fiche-poste-recrutement',
                    ],
                    'privileges' => StructurePrivileges::STRUCTURE_DESCRIPTION,
                ],
                [
                    'controller' => StructureController::class,
                    'action' => [
@@ -152,6 +159,17 @@ return [
                        'may_terminate' => true,
                        'child_routes' => [],
                    ],
                    'ajouter-fiche-poste-recrutement' => [
                        'type'  => Segment::class,
                        'options' => [
                            'route'    => '/ajouter-fiche-poste-recrutement/:structure',
                            'defaults' => [
                                'controller' => StructureController::class,
                                'action'     => 'ajouter-fiche-poste-recrutement',
                            ],
                        ],
                        'may_terminate' => true,
                    ],
                    'graphe' => [
                        'type'  => Segment::class,
                        'options' => [
+5 −0
Changes for module/Application/src/Application/Controller/FichePosteController.php: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -167,6 +167,10 @@ class FichePosteController extends AbstractActionController {
    public function afficherAction()
    {
        $fiche = $this->getFichePosteService()->getRequestedFichePoste($this, 'fiche-poste');

        $structureId = $this->params()->fromQuery('structure');
        $structure = $this->getStructureService()->getStructure($structureId);

        $titre = 'Fiche de poste <br/>';
        $titre .= '<strong>';
        if ($fiche->getFicheTypeExternePrincipale()) {
@@ -195,6 +199,7 @@ class FichePosteController extends AbstractActionController {
            'formations' => $formations,
            'activites' => $activites,
            'parcours' => $parcours,
            'structure' => $structure,
        ]);
    }

Loading