MSIN-4459 — Enhance team display in participant list with visual grouping and indentation for teammates. Update CSS for new styles and increment version code to 4.72.841.

This commit is contained in:
2026-07-20 12:34:12 -04:00
parent 90f496c684
commit fb2de52739
3 changed files with 23 additions and 29 deletions

View File

@ -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;

View File

@ -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).

View File

@ -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');