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

correction bouton 'exporter au format pdf'

parent d66410f8
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/view/application/fiche-poste/afficher.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ $canExport = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_AFFICHE
        <br/>
        <br/>
        <?php if ($canExport) : ?>
            <a href="<?php echo $this->url('fiche-poste/export', ['fiche-poste' => $fiche->getId()], [], true); ?>"
            <a href="<?php echo $this->url('fiche-poste/exporter', ['fiche-poste' => $fiche->getId()], [], true); ?>"
               class="btn btn-primary action" target="_blank"
            ><span
                        data-toggle="tooltip" data-html="true"
+1 −2
Changes for module/Application/view/application/fiche-poste/editer.phtml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -128,11 +128,11 @@ $this->headTitle("Modification de la fiche de poste #".$fiche->getId());
    usort($fichesMetiers, function (FicheTypeExterne $a, FicheTypeExterne $b) { return ($a->getQuotite() > $b->getQuotite()); });
    ?>

    <?php echo $this->portenote('FichePosteController::editerAction()>composition', '', []); ?>

    <?php /** @var FicheTypeExterne $ficheType **/ ?>
    <div class="panel panel-default">
        <div class="panel-heading">
            <?php echo $this->portenote('FichePosteController::editerAction()>composition', '', []); ?>
            <div class="row">
                <div class="col-md-8">
                <h2>Fiche de poste composée de <?php echo count($fiche->getFichesMetiers()); ?> fiche(s) métier(s).</h2>
@@ -173,7 +173,6 @@ $this->headTitle("Modification de la fiche de poste #".$fiche->getId());
            <?php echo $this->portenote('FichePosteController::editerAction()>acf', '', []); ?>
            <?php echo $this->partial('partial/competences',  ['fiche' => $fiche, 'competences' => $competences,   'mode' => 'edition'], [], true); ?>
            <?php echo $this->partial('partial/applications', ['fiche' => $fiche, 'applications' => $applications, 'mode' => 'edition'], [], true); ?>
            <?php //echo $this->partial('partial/formations',   ['fiche' => $fiche, 'formations' => $formations,     'mode' => 'edition'], [], true); ?>
            <?php echo $this->partial('partial/parcours-de-formation',  ['parcours' => $parcours, 'agent' => $agent, 'fiche' => $fiche, 'mode' => 'affichage'], [], true); ?>
        </div>
    </div>