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

Ajout graphe

parent e26bbc72
Loading
Loading
Loading
Loading
+1
Changes for module/Application/src/Application/Provider/Privilege/FichePostePrivileges.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -13,4 +13,5 @@ class FichePostePrivileges extends Privileges
    const FICHEPOSTE_HISTORISER = 'ficheposte-ficheposte_historiser';
    const FICHEPOSTE_DETRUIRE   = 'ficheposte-ficheposte_detruire';
    const FICHEPOSTE_ASSOCIERAGENT = 'ficheposte-ficheposte_associeragent';
    const FICHEPOSTE_GRAPHIQUE = 'ficheposte-ficheposte_graphique';
}
+6
Changes for module/Application/src/Application/View/Helper/partial/fiche-metier-externe.phtml: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
 */

use Application\Entity\Db\FicheTypeExterne;
use Application\Provider\Privilege\FichePostePrivileges;

$fichemetier = $fiche->getFicheType();
$ficheposte = $fiche->getFichePoste();
@@ -82,6 +83,11 @@ $activitesConservees = explode(FicheTypeExterne::ACTIVITE_SEPARATOR, $fiche->get
                </div>
            </div>
        </div>
        <?php if ($this->isAllowed(FichePostePrivileges::getResourceId(FichePostePrivileges::FICHEPOSTE_GRAPHIQUE))) : ?>
            <div class="pull-right">
                <a href="<?php echo $this->url('fiche-metier-type/graphique-competences', ['fiche-metier' => $fichemetier->getId(), 'agent' => $agent->getId()], [], true); ?>" class="btn btn-primary ajax-modal">Compétences métier/agent</a>
            </div>
        <?php endif; ?>
    </div>
    <div class="panel-body">
        <?php if (isset($options['mode']) AND $options['mode'] === 'edition-fiche-poste') : ?>
+3 −3
Changes for module/Application/view/application/agent/afficher.phtml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -197,17 +197,17 @@ if ($agent !== null) {
                    Dans ces listes, les applications, compétences et formations associées aux fiches de postes d'un agent ne sont pas mentionnées.
                </div>

                <?php if ($displayAcquis === true) : ?>
<!--                --><?php //if ($displayAcquis === true) : ?>
                    <!-- APPLICATION ------------------------------------------------------------------------------------------------------>
                    <?php echo $this->applicationBloc($agent->getApplicationDictionnaireComplet(), $agent, $options); ?>

                    <!-- COMPETENCE ------------------------------------------------------------------------------------------------------->
                    <?php echo $this->competenceBloc($agent->getCompetenceDictionnaireComplet(), $agent, $options); ?>
                <?php endif; ?>
<!--                --><?php //endif; ?>

                <!-- FORMATION ------------------------------------------------------------------------------------------------------->
                <?php //echo $this->formationBloc($agent->getFormationDictionnaire(), $agent, $options); ?>
                Formation desactiver pour le moment
<!--                Formation desactiver pour le moment-->
            </div>
            <div id="portfolio" class="tab-pane " role="tabpanel">
                <?php echo $this->partial('partial/portfolio', ['fichiers' => $agent->getFichiers(), 'agent' => $agent, 'droits' => $droits], []); ?>
+2 −2
Changes for module/Element/src/Element/View/Helper/partial/application-bloc.phtml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -91,9 +91,9 @@ ksort($groupes);
                    <br/>
                    <?php if ($objet instanceof Agent) : ?>
                        <a
                            <?php /** @see \Application\Controller\ElementController::ajouterApplicationElementAction() */?>
                            <?php /** @see \Element\Controller\ElementController::ajouterApplicationElementAction() */?>
                            <?php //todo ... Agent::class => get_class($objet) ... ?>
                                href="<?php echo $this->url('application/ajouter-application-element', ['type' => Agent::class, 'id' => $objet->getId(), 'clef' => ($objet instanceof FicheMetier)?'afficher':'masquer'], [], true); ?>"
                                href="<?php echo $this->url('element_/ajouter-application-element', ['type' => Agent::class, 'id' => $objet->getId(), 'clef' => ($objet instanceof FicheMetier)?'afficher':'masquer'], [], true); ?>"
                                class="ajax-modal btn btn-primary action"
                                data-event="modification"
                        >
+1 −1
Changes for module/Element/src/Element/View/Helper/partial/competence-bloc.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ ksort($groupes);
                    <a
                        <?php /** @see \Application\Controller\ElementController::ajouterCompetenceElementAction() */?>
                        <?php //todo ... Agent::class => get_class($objet) ... ?>
                            href="<?php echo $this->url('application/ajouter-competence-element', ['type' => Agent::class, 'id' => $objet->getId(), 'clef' => ($objet instanceof FicheMetier)?'afficher':'masquer'], [], true); ?>"
                            href="<?php echo $this->url('element_/ajouter-competence-element', ['type' => Agent::class, 'id' => $objet->getId(), 'clef' => ($objet instanceof FicheMetier)?'afficher':'masquer'], [], true); ?>"
                            class="ajax-modal btn btn-primary action"
                            data-event="modification"
                    >