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

?

parent 4975f766
Loading
Loading
Loading
Loading
+19
Changes for module/Formation/view/formation/formation/index.phtml: 19 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -49,13 +49,27 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
    <tbody>
    <?php foreach ($formations as $formation) : ?>
        <tr>

            <td <?php if ($formation->estHistorise()) echo " class='historise' "; ?> >
                <span class="typage">Formation :</span>
                <?php echo $formation->getLibelle(); ?>
                <?php if ($formation->getDescription() !== null AND trim($formation->getDescription()) !== null) : ?>
                    <span class="glyphicon glyphicon-info-sign"
                          title="<?php echo $formation->getDescription(); ?>" data-toggle="tooltip" data-html="true"
                    ></span>
                <?php endif; ?>
                <br>
                <span class="typage">Module :</span>
                <?php if ($formation->getModule()) : ?>
                    <?php echo $formation->getModule()->getLibelle(); ?>
                    <?php if ($formation->getModule()->getDescription() !== null AND trim($formation->getModule()->getDescription()) !== null) : ?>
                        <span class="glyphicon glyphicon-info-sign"
                              title="<?php echo $formation->getModule()->getDescription(); ?>" data-toggle="tooltip" data-html="true"
                        ></span>
                    <?php endif; ?>
                <?php else : ?>
                    <i>Aucun module de spécifié</i>
                <?php endif; ?>
            </td>
            <td> <?php echo $this->site($formation); ?> </td>
            <td>
@@ -132,6 +146,11 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
</script>

<style>
    span.typage {
        display: inline-block;
        width: 8rem;
        font-weight: 500;
    }
    a.btn.action {
        width:25rem;
    }