Commit f43eeec5 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Inversion Fi et Fa dans l'affichage dans les administrations type de ressources (#38510)

parent 50c38ded
......@@ -14,8 +14,8 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<tr>
<th>Code</th>
<th>Libellé</th>
<th>FA</th>
<th>FI</th>
<th>FA</th>
<th>FC</th>
<th>FC Majorée</th>
<th>Référentiel</th>
......@@ -32,12 +32,12 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<?= $type->getCode() ?>&nbsp;
</td>
<td><?= $type->getLibelle() ?></td>
<td><?= ($type->getFi())?'OUI':'NON'; ?></td>
<td><?= ($type->getFa())?'OUI':'NON'; ?></td>
<td><?= ($type->getFc())?'OUI':'NON'; ?></td>
<td><?= ($type->getFcMajorees())?'OUI':'NON'; ?></td>
<td><?= ($type->getReferentiel())?'OUI':'NON'; ?></td>
<td><?= ($type->getEtablissement())?'OUI':'NON'; ?></td>
<td><?= ($type->getFi()) ? 'OUI' : 'NON'; ?></td>
<td><?= ($type->getFa()) ? 'OUI' : 'NON'; ?></td>
<td><?= ($type->getFc()) ? 'OUI' : 'NON'; ?></td>
<td><?= ($type->getFcMajorees()) ? 'OUI' : 'NON'; ?></td>
<td><?= ($type->getReferentiel()) ? 'OUI' : 'NON'; ?></td>
<td><?= ($type->getEtablissement()) ? 'OUI' : 'NON'; ?></td>
<?php if ($canEdit): ?>
<td style="text-align:center;width:1px;white-space: nowrap">
<a class="ajax-modal"
......@@ -57,18 +57,18 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<span class="glyphicon glyphicon-trash"></span>
</a>
</td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php if ($canEdit): ?>
<a class="btn btn-primary ajax-modal" data-event="type-ressource-saisie"
href="<?= $this->url('type-ressource/saisie') ?>"
title="Ajouter un type de ressource">
<span class="glyphicon glyphicon-plus"></span>
Ajouter un type de ressource</a>
<a class="btn btn-primary ajax-modal" data-event="type-ressource-saisie"
href="<?= $this->url('type-ressource/saisie') ?>"
title="Ajouter un type de ressource">
<span class="glyphicon glyphicon-plus"></span>
Ajouter un type de ressource</a>
<?php endif; ?>
<script type="text/javascript">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment