Skip to content
Snippets Groups Projects
Commit 9a8aa307 authored by Alexandre Zvenigorosky's avatar Alexandre Zvenigorosky
Browse files

Affichage des années

parent 7c1b9c74
No related branches found
No related tags found
2 merge requests!10Modulateurs statuts,!9Modulateurs statuts
...@@ -88,7 +88,7 @@ foreach ($typeModulateurs as $tm) { ...@@ -88,7 +88,7 @@ foreach ($typeModulateurs as $tm) {
<?php echo ($infoBulle ? '<abbr title="' . $infoBulle . '">' : '') . $tms->getStructure()->getLibelleCourt(); <?php echo ($infoBulle ? '<abbr title="' . $infoBulle . '">' : '') . $tms->getStructure()->getLibelleCourt();
echo($infoBulle ? '</abbr>' : ''); echo($infoBulle ? '</abbr>' : '');
if ($canEdit) { ?> if ($canEdit) { ?>
<a class="pop-ajax" <a style="position:absolute; right: 20px;" pop-ajax"
href="<?= $this->url('modulateur/type-modulateur-structure-delete', ['typeModulateurStructure' => $tms->getId()]) ?>" href="<?= $this->url('modulateur/type-modulateur-structure-delete', ['typeModulateurStructure' => $tms->getId()]) ?>"
title="Supprimer le type de modulateur pour la structure" title="Supprimer le type de modulateur pour la structure"
data-content="<p class='lead text-danger'><strong>Attention!</strong> Confirmez-vous cette suppression ?</p>" data-content="<p class='lead text-danger'><strong>Attention!</strong> Confirmez-vous cette suppression ?</p>"
...@@ -104,18 +104,14 @@ foreach ($typeModulateurs as $tm) { ...@@ -104,18 +104,14 @@ foreach ($typeModulateurs as $tm) {
</tr> </tr>
<?php } <?php }
} ?> } ?>
</table>
<?php if ($canEdit) { ?> <?php if ($canEdit) { ?>
<tr>
<td>
<a class="ajax-modal" data-event="modulateur-saisie" <a class="ajax-modal" data-event="modulateur-saisie"
href="<?= $this->url('modulateur/type-modulateur-structure-saisie', ['typeModulateur' => $tm->getId()]) ?>" href="<?= $this->url('modulateur/type-modulateur-structure-saisie', ['typeModulateur' => $tm->getId()]) ?>"
title="Ajouter un type de modulateur pour une structure"> title="Ajouter un type de modulateur pour une structure">
<button type="button" class="btn btn-primary">Ajouter</button> <button type="button" class="btn-xs btn-primary">Ajouter</button>
</a> </a>
</td>
</tr>
<?php } ?> <?php } ?>
</table>
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
<table class="table table-bordered"> <table class="table table-bordered">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment