diff --git a/css/style.css b/css/style.css index 37654fe..a06f5a7 100644 --- a/css/style.css +++ b/css/style.css @@ -4048,13 +4048,13 @@ a.ms1-trad-link.btn-aide-trad{ display:contents; } -/* MSIN-4459 — cellule participant : capitaine + nom d'équipe + coéquipiers */ -.inscr-gestion-list-item__who{ - min-width:0; - display:flex; - flex-direction:column; - align-items:stretch; - gap:3px; +/* MSIN-4459 — Groupe equipe en liste : separateur + indent coequipier (nom 1 ligne). */ +.inscr-gestion-list-item--team-start{ + border-top:2px solid #b8d0ef; +} + +.inscr-gestion-list-item--teammate .inscr-gestion-list-item__name{ + padding-left:1.15rem; } .inscr-gestion-list-item__name{ @@ -4068,27 +4068,6 @@ a.ms1-trad-link.btn-aide-trad{ gap:8px; } -.inscr-gestion-list-item__team{ - font-size:12px; - font-weight:500; - color:#495057; - line-height:1.35; -} - -.inscr-gestion-list-item__role{ - font-size:11px; - font-weight:600; - color:#6c757d; - text-transform:uppercase; - letter-spacing:.02em; - line-height:1.3; -} - -.inscr-gestion-list-item--teammate .inscr-gestion-list-item__who{ - padding-left:10px; - border-left:3px solid #c5d8f0; -} - /* MSIN-4405 — la pastille de cause se colle au bord droit de la cellule du nom */ .inscr-gestion-list-item__name .inscr-gestion-cancel-badge{ margin-left:auto; diff --git a/php/inc_fx_inscriptions_gestion.php b/php/inc_fx_inscriptions_gestion.php index 8312dd5..4308f0c 100644 --- a/php/inc_fx_inscriptions_gestion.php +++ b/php/inc_fx_inscriptions_gestion.php @@ -2264,6 +2264,21 @@ function fxInscrGestionRenderList($intEveId, $strLangue, $strBaseUrl, $arrReq) { isset($row['par_statut_course']) ? $row['par_statut_course'] : '' ); $strCardClass = 'inscr-gestion-list-item'; + // MSIN-4459 — Groupe visuel leger : debut d'equipe + indent coequipiers (1 ligne de nom). + if ($blnEquipe) { + $strCardClass .= ' inscr-gestion-list-item--team'; + if ((int)$row['rol_id'] === 1) { + $strCardClass .= ' inscr-gestion-list-item--team-lead'; + } else { + $strCardClass .= ' inscr-gestion-list-item--teammate'; + } + if (!isset($intPrevTeamPec) || $intPecId !== $intPrevTeamPec) { + $strCardClass .= ' inscr-gestion-list-item--team-start'; + } + $intPrevTeamPec = $intPecId; + } else { + $intPrevTeamPec = 0; + } $strCancelBadge = ''; if ($row['is_cancelled'] == '1') { // MSIN-4405 — Cause derivee en lecture seule (aucune ecriture en base). diff --git a/php/inc_settings.php b/php/inc_settings.php index aa334c2..208c510 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -7,7 +7,7 @@ * Constantes * * **************/ -define('_VERSION_CODE', '4.72.840'); +define('_VERSION_CODE', '4.72.841'); define('_DATE_CODE', '2026-07-20'); //MSIN-4290 define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');