Commit c9909bde authored by joriot221's avatar joriot221
Browse files

Correction span et i

passage span to i
parent 31b00578
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/View/Helper/Intervenant/IntervenantViewHelper.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ class IntervenantViewHelper extends AbstractHtmlElement
                    <?php if ($canAddIntervenant && $intervenant->getId()): ?>
                        <li class="ajout-intervenant">
                            <a href="<?= $this->getView()->url('intervenant/dupliquer', ['intervenant' => $intervenant->getId()]); ?>"
                               title="Ajout d'un nouveau statut à l'intervenant"><i class="fas fa-plus"></i</a>
                               title="Ajout d'un nouveau statut à l'intervenant"><i class="fas fa-plus"></i></a>
                        </li>
                    <?php endif; ?>
                </ul>
+1 −1
Changes for module/Application/src/View/Helper/OffreFormation/ElementPedagogiqueViewHelper.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ class ElementPedagogiqueViewHelper extends AbstractHtmlElement
        $buttons = '';
        if ($this->getView()->isAllowed($entity, Privileges::ODF_ELEMENT_EDITION)) {
            $buttons .= '<a class="btn btn-default" href="' . $this->getView()->url('of/element/modifier', ['elementPedagogique' => $entity->getId()]) . '" data-event="element-pedagogique-modifier"><i class="fas fa-pencil"></i> Modifier</a>';
            $buttons .= '<a class="btn btn-default" href="' . $this->getView()->url('of/element/supprimer', ['elementPedagogique' => $entity->getId()]) . '" data-event="element-pedagogique-supprimer"><i class="fas fa-trash-can"></i Supprimer</a>';
            $buttons .= '<a class="btn btn-default" href="' . $this->getView()->url('of/element/supprimer', ['elementPedagogique' => $entity->getId()]) . '" data-event="element-pedagogique-supprimer"><i class="fas fa-trash-can"></i> Supprimer</a>';
        }
        if ($this->getView()->isAllowed($entity, Privileges::ODF_ELEMENT_SYNCHRONISATION)) {
            $buttons .= '<a class="btn btn-default" href="' . $this->getView()->url('of/element/synchronisation', ['elementPedagogique' => $entity->getId()]) . '" data-event="element-pedagogique-synchronisation"><i class="fas fa-arrows-rotate"></i> Synchronisation</a>';
+2 −2
Changes for module/Application/src/View/Helper/OffreFormation/EtapeViewHelper.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ class EtapeViewHelper extends AbstractViewHelper
        $buttons = '';
        if ($this->getView()->isAllowed($entity, Privileges::ODF_ETAPE_EDITION)) {
            $buttons .= '<a class="btn btn-default ajax-modal" href="' . $this->getView()->url('of/etape/modifier', ['etape' => $entity->getId()]) . '" data-event="etape-modifier"><i class="fas fa-pencil"></i> Modifier</a>';
            $buttons .= '<a class="btn btn-default ajax-modal" href="' . $this->getView()->url('of/etape/supprimer', ['etape' => $entity->getId()]) . '" data-event="etape-supprimer"><i class="fas fa-trash-can"></i Supprimer</a>';
            $buttons .= '<a class="btn btn-default ajax-modal" href="' . $this->getView()->url('of/etape/supprimer', ['etape' => $entity->getId()]) . '" data-event="etape-supprimer"><i class="fas fa-trash-can"></i> Supprimer</a>';
        }

        if ($buttons) {
@@ -142,7 +142,7 @@ class EtapeViewHelper extends AbstractViewHelper

    public function renderAjouterLink($content = '', $attributes = [])
    {
        if (!$content) $content = '<i class="fas fa-plus"></i Ajouter une formation';
        if (!$content) $content = '<i class="fas fa-plus"></i> Ajouter une formation';

        $default = [
            'href'       => $this->getView()->url('of/etape/ajouter'),
+1 −1
Changes for module/Application/src/View/Helper/Service/Ligne.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ class Ligne extends AbstractViewHelper
    {
        $out =
            '<a class="service-details-button" title="Détail des heures">'
            . '<span class="fas fa-chevron-' . ($details ? 'up' : 'down') . '"></span>'
            . '<i class="fas fa-chevron-' . ($details ? 'up' : 'down') . '"></span>'
            . '</a>';

        return $out;
+5 −5
Changes for module/Application/src/View/Helper/Service/Liste.php: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ class Liste extends AbstractViewHelper
                    'title'       => "Saisir comme réalisées l'ensemble des heures prévisionnelles"
                        . ". Attention toutefois : si des heures réalisées ont déjà été saisies alors ces dernières seront écrasées!",
                ];
                $out     .= '<button type="button" ' . $this->htmlAttribs($attribs) . '>Prévu <span class="fas fa-arrow-right"></span> réalisé</button>&nbsp;';
                $out     .= '<button type="button" ' . $this->htmlAttribs($attribs) . '>Prévu <i class="fas fa-arrow-right"></i> réalisé</button>&nbsp;';
                $out     .= '<div class="modal fade" id="prevu-to-realise-modal" tabindex="-1" role="dialog" aria-hidden="true">';
                $out     .= '<div class="modal-dialog modal-md">';
                $out     .= '<div class="modal-content">';
@@ -271,7 +271,7 @@ class Liste extends AbstractViewHelper
                    'title'       => "Initialiser le service prévisionnel avec le service prévisionnel validé l'année dernière",
                ];
                $source  = $typeVolumeHoraire->getLibelle();
                $out     .= '<button type="button" ' . $this->htmlAttribs($attribs) . '>' . $source . ' ' . $this->getServiceContext()->getAnneePrecedente() . ' <span class="fas fa-arrow-right"></span> Prévisionnel ' . $this->getServiceContext()->getAnnee() . '</button>&nbsp;';
                $out     .= '<button type="button" ' . $this->htmlAttribs($attribs) . '>' . $source . ' ' . $this->getServiceContext()->getAnneePrecedente() . ' <i class="fas fa-arrow-right"></i> Prévisionnel ' . $this->getServiceContext()->getAnnee() . '</button>&nbsp;';
                $out     .= '<div class="modal fade" id="prevu-to-prevu-modal" tabindex="-1" role="dialog" aria-hidden="true">';
                $out     .= '<div class="modal-dialog modal-md">';
                $out     .= '<div class="modal-content">';
@@ -301,7 +301,7 @@ class Liste extends AbstractViewHelper
            'href'       => $this->getAddUrl(),
            'title'      => 'Ajouter un nouvel enseignement',
        ];
        $out     .= '<a ' . $this->htmlAttribs($attribs) . '><i class="fas fa-plus"></i Je saisis</a>';
        $out     .= '<a ' . $this->htmlAttribs($attribs) . '><i class="fas fa-plus"></i> Je saisis</a>';

        return $out;
    }
@@ -447,8 +447,8 @@ class Liste extends AbstractViewHelper
    {
        return
            '<div class="service-show-hide-buttons">'
            . '<button type="button" class="btn btn-default btn-xs service-show-all-details"><span class="fas fa-chevron-down"></span> Tout déplier</button> '
            . '<button type="button" class="btn btn-default btn-xs service-hide-all-details"><span class="fas fa-chevron-up"></span> Tout replier</button>'
            . '<button type="button" class="btn btn-default btn-xs service-show-all-details"><i class="fas fa-chevron-down"></i> Tout déplier</button> '
            . '<button type="button" class="btn btn-default btn-xs service-hide-all-details"><i class="fas fa-chevron-up"></i> Tout replier</button>'
            . '</div>';
    }

Loading