From f43eeec564b48f495a9b6a024d70f02e04d0116a Mon Sep 17 00:00:00 2001 From: Antony Le Courtes <antony.lecourtes@unicaen.fr> Date: Tue, 15 Jun 2021 09:29:21 +0200 Subject: [PATCH] Inversion Fi et Fa dans l'affichage dans les administrations type de ressources (#38510) --- .../application/type-ressource/index.phtml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/module/Application/view/application/type-ressource/index.phtml b/module/Application/view/application/type-ressource/index.phtml index 52b84c597c..f899135a5f 100755 --- a/module/Application/view/application/type-ressource/index.phtml +++ b/module/Application/view/application/type-ressource/index.phtml @@ -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() ?> </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"> -- GitLab