Commit 0c6e9c3c authored by Thomas Hamel's avatar Thomas Hamel Committed by Bertrand Gauthier
Browse files

UX: affichage d'un message à l'utilisateur lui indiquant lors d'une...

UX: affichage d'un message à l'utilisateur lui indiquant lors d'une suppression qu'une confirmation lui sera demandée avant suppression complète
parent 7a40348f
Loading
Loading
Loading
Loading
+4 −0
Changes for doc/release-notes/v9/9.3.0/01_formation.sql: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
alter table formation_formation add fiche_id bigint references fichier (id);
INSERT INTO nature_fichier (id, code, libelle) VALUES (nextval('nature_fichier_id_seq'::regclass), 'FORMATION_FICHE', 'Fiche PDF détaillée d''une formation');

update formation_etat set description = 'La session est imminente' where code = 'I';
update formation_etat set description = 'Les inscriptions sont ouvertes' where code = 'O';
update formation_etat set description = 'Les inscriptions sont à présent fermées' where code = 'F'
 No newline at end of file
+2 −2
Changes for module/Admission/view/admission/admission-recherche/index.phtml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -229,8 +229,8 @@ echo $this->partial('admission/admission/partial/header', []); ?>
                         if($canSupprimerAdmission){ ?>
                            <a href="<?php echo $this->url('admission/ajouter',['action' => 'supprimer', 'individu' => $admission->getIndividu()->getId()], [], true); ?>"
                               data-toggle="confirmationx" data-event="modification"
                               title="Suppression du dossier d'admission #<?php echo $admission->getId(); ?>" data-bs-toggle="tooltip" data-bs-html="true">
                                <span class="icon icon-historiser text-danger"></span>
                               title="Suppression du dossier d'admission #<?php echo $admission->getId(); ?> <br>(Une confirmation avant la suppression vous sera demandée)" data-bs-toggle="tooltip" data-bs-html="true">
                                <span class="icon icon-supprimer text-danger"></span>
                            </a>
                        <?php } ?>
                    </td>
+3 −2
Changes for module/Application/view/application/profil/index.phtml: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -82,8 +82,9 @@ $canChangePrivilege = true;
                        <?php endif; ?>
                        <?php if ($canDelete) : ?>
                            <a href="<?php echo $this->url('profil/supprimer', ['profil' => $profil->getId()], [], true);?>"
                               data-toggle="confirmationx">
                                <span class="icon icon-delete iconly" title="Supprimer le profil"></span>
                               data-toggle="confirmationx"
                               title="Une confirmation avant la suppression vous sera demandée" data-bs-toggle="tooltip" data-bs-html="true">
                                <span class="icon icon-delete iconly text-danger" title="Supprimer le profil"></span>
                            </a>
                        <?php endif; ?>
                        <?php if ($canManage) : ?>
+12 −6
Changes for module/Application/view/application/rapport/partial/rapports-table.phtml: 12 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -297,8 +297,10 @@ $acteursFormatterCodirecteurs->asSeparated()
                    <?php if ($canDevalider): ?>
                        <a href="<?php echo $this->url($routeName . '/devalider', ['rapportValidation' => $rapportValidation->getId()], ['query' => ['redirect' => $returnUrl]]) ?>"
                           class="btn btn-danger"
                           title="Dévalider ce rapport ?"
                           data-bs-toggle="confirmationx"
                           title="Dévalider ce rapport ? <br>(Une confirmation avant la dévalidation vous sera demandée)"
                           data-toggle="confirmationx"
                           data-bs-toggle="tooltip"
                           data-bs-html="true"
                           data-message="Êtes-vous sûr·e de vouloir dévalider ?">Dévalider</span></a>
                    <?php endif ?>
                <?php else: ?>
@@ -307,8 +309,10 @@ $acteursFormatterCodirecteurs->asSeparated()
                    <?php if ($canValider): ?>
                        <a href="<?php echo $this->url($routeName . '/valider', ['rapport' => $rapport->getId(), 'typeValidation' => $typeValidation->getId()], ['query' => ['redirect' => $returnUrl]]) ?>"
                           class="btn btn-success"
                           title="Valider ce rapport ?"
                           data-bs-toggle="confirmationx"
                           title="Valider ce rapport ?  <br>(Une confirmation avant la validation vous sera demandée)"
                           data-toggle="confirmationx"
                           data-bs-toggle="tooltip"
                           data-bs-html="true"
                           data-message="Êtes-vous sûr·e de vouloir valider ce rapport ?">Valider</span></a>
                    <?php endif ?>
                <?php endif ?>
@@ -393,8 +397,10 @@ $acteursFormatterCodirecteurs->asSeparated()
                <?php endif; ?>
                <?php if ($canDel && !$autorisationInscription->getId()): ?>
                    <a href="<?php echo $this->url($routeName . '/supprimer', ['rapport' => $rapport->getId()], ['query' => ['redirect' => $returnUrl ?? '']]) ?>"
                       title="Supprimer ce rapport ?"
                       data-bs-toggle="confirmationx"
                       title="Supprimer ce rapport ? <br>(Une confirmation avant la suppression vous sera demandée)"
                       data-toggle="confirmationx"
                       data-bs-toggle="tooltip"
                       data-bs-html="true"
                       data-message="Êtes-vous sûr·e de vouloir supprimer ce rapport ?"><span class="fa fa-trash"></span></a>
                <?php endif; ?>
            </td>
+3 −0
Changes for module/Application/view/application/utilisateur/voir.phtml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -103,6 +103,9 @@ $canEdit = $this->isAllowed(UtilisateurPrivileges::getResourceId(UtilisateurPriv
                        <div class="float-end">
                            <a href="<?php echo $this->url('utilisateur/delier-individu', ['utilisateur' => $utilisateur->getId()], [], true);?>"
                               class="btn btn-danger"
                               data-bs-toggle="tooltip"
                               data-bs-html="true"
                               title="Une confirmation avant la désunion vous sera demandée"
                               data-toggle="confirmationx">Délier du compte utilisateur</a>
                        </div>
                    </h2>
Loading