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

L'affichage des descriptions des templates est maintenant afficher en gris sous le code de la macro

parent dc664c4f
Loading
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
CHANGELOG
=========

7.2.5
----
- L'affichage des descriptions des templates est maintenant afficher en gris sous le code de la macro.

7.2.4
----
- Possibilité de restreindre les listes des macros en select avec une liste de variables (utilisées par les macros)

7.2.3
----
- Ajout de méthode pour lister les macros sous la forme d'un select (getMacrosAsOptions())
- Ajout d'une méthode pour évaluer une macro dans un contexte restreint (evaluateMacro(Macro $macro, array $variables))

7.2.2
-----
- Possibilité de dupliquer un template

7.2.1
-----
- Correction de la factory du `TwigWysiwygTemplateEngine`
+8 −7
Original line number Diff line number Diff line
@@ -81,11 +81,11 @@ if (isset($title)) $this->headTitle($title);
<table id='template-liste' class="table table-condensed table-hover">
    <thead>
    <tr>
        <th> Code</th>
        <th> Type</th>
        <th> Moteur</th>
        <th> Namespace</th>
        <th class="action"> Action</th>
        <th class="col-md-7"> Code</th>
        <th class="col-md-1"> Type</th>
        <th class="col-md-1"> Moteur</th>
        <th class="col-md-2"> Namespace</th>
        <th class="col-md-1 action"> Action</th>
    </tr>
    </thead>
    <tbody>
@@ -94,8 +94,9 @@ if (isset($title)) $this->headTitle($title);
            <td>
                <?php echo $template->getCode(); ?>
                <?php if ($template->getDescription() !== null) : ?>
                    <span class="icon icon-information" title="<?php echo htmlentities($template->getDescription()); ?>"
                          data-bs-toggle="tooltip" data-bs-html="true"></span>
                <div style="color: grey;">
                    <?php echo $template->getDescription(); ?>
                </div>
                <?php endif; ?>
            </td>
            <td>