From d910def81bb3fbacb68a872921329e89daa445a1 Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 3 Aug 2026 15:03:13 -0400 Subject: [PATCH] =?UTF-8?q?MSIN-4553=20=E2=80=94=20Update=20identity=20dis?= =?UTF-8?q?play=20in=20details=20section=20to=20always=20show=20name=20and?= =?UTF-8?q?=20bib=20number=20if=20present.=20Adjust=20styles=20for=20impro?= =?UTF-8?q?ved=20layout.=20Increment=20version=20code=20to=204.72.953=20to?= =?UTF-8?q?=20reflect=20these=20changes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 17 ++++++++++++++ php/inc_fx_inscriptions_gestion.php | 35 ++++++++++++++++++----------- php/inc_settings.php | 2 +- 3 files changed, 40 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index adfe90f..3fdbb6a 100644 --- a/css/style.css +++ b/css/style.css @@ -4960,6 +4960,23 @@ button.ms1-ui-chooser-item-side:hover{ letter-spacing:.02em; } +/* MSIN-4553 — identité toujours dans le corps Détails (sous la bande titre) */ +.inscr-gestion-fiche-identity{ + display:flex; + flex-wrap:wrap; + align-items:center; + gap:10px; + padding:12px 12px 10px; + border-bottom:1px solid #dee2e6; + background:#f8fbff; +} +.inscr-gestion-fiche-identity__name{ + font-size:1.35rem; +} +.inscr-gestion-fiche-section--details .inscr-gestion-fiche-identity + .inscr-gestion-kv-list{ + padding-top:4px; +} + .inscr-gestion-btn-chronotrack{ white-space:nowrap; } diff --git a/php/inc_fx_inscriptions_gestion.php b/php/inc_fx_inscriptions_gestion.php index 521140b..b337985 100644 --- a/php/inc_fx_inscriptions_gestion.php +++ b/php/inc_fx_inscriptions_gestion.php @@ -2507,19 +2507,11 @@ function fxInscrGestionRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, echo '>'; fxInscrGestionRenderNavBack($strBackUrl, fxInscrGestionResolveBackLabel($arrReq, $strLangue)); - echo '
'; - echo '

' . fxInscrGestionEsc(fxUnescape($arrRow['par_nom']) . ', ' . fxUnescape($arrRow['par_prenom'])) . '

'; - // MSIN-4553 — pastille dossard à côté du nom (entête fiche). + // MSIN-4553 — nom (+ plaque si dossard) dans la bande Détails ; actions seules en tête. + $strNameHead = fxUnescape($arrRow['par_nom']) . ', ' . fxUnescape($arrRow['par_prenom']); $strBibHead = trim((string)fxInscrGestionBibDisplay($arrRow)); - if ($strBibHead !== '') { - $strBibAria = fxInscrGestionT('inscr_gestion_col_dossard') . ' ' . $strBibHead; - echo ''; - echo ''; - echo '' . fxInscrGestionEsc($strBibHead) . ''; - echo ''; - } + + ob_start(); // MSIN-4328 — lien direct ChronoTrack (superadmin + entry_id connu) if (!empty($_SESSION['usa_id'])) { $strCtEntryId = trim((string)($arrRow['ct_entry_id'] ?? '')); @@ -2554,7 +2546,10 @@ function fxInscrGestionRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, . fxInscrGestionEsc(fxInscrGestionT('inscr_gestion_btn_dossard_print')) . ''; } - echo '
'; + $strFicheHeadActions = trim(ob_get_clean()); + if ($strFicheHeadActions !== '') { + echo '
' . $strFicheHeadActions . '
'; + } $strDetailsType = $blnEquipe && fxIsParEquipe($arrRow['pec_id_original'], $arrRow['epr_id']) ? fxInscrGestionT('promoteur_bib_show_teamates') @@ -2566,6 +2561,20 @@ function fxInscrGestionRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, 'fa-info-circle', ($blnForceSectionsOpen || !$blnFromQr) ); + // MSIN-4553 — toujours : nom dans la bande Détails ; plaque si numéro présent. + echo '
'; + echo '

' + . fxInscrGestionEsc($strNameHead) . '

'; + if ($strBibHead !== '') { + $strBibAria = fxInscrGestionT('inscr_gestion_col_dossard') . ' ' . $strBibHead; + echo ''; + echo ''; + echo '' . fxInscrGestionEsc($strBibHead) . ''; + echo ''; + } + echo '
'; fxInscrGestionRenderKvListOpen(true); fxInscrGestionRenderKvRow(fxInscrGestionT('inscr_gestion_epreuve'), fxInscrGestionEpreuveLabel($arrRow['epr_id'], $strLangue)); fxInscrGestionRenderKvRow(fxInscrGestionT('inscr_gestion_type'), $strDetailsType); diff --git a/php/inc_settings.php b/php/inc_settings.php index 88089ec..160b7f7 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -7,7 +7,7 @@ * Constantes * * **************/ -define('_VERSION_CODE', '4.72.952'); // MSIN-4553 — revert identité dans Détails ; plaque en tête +define('_VERSION_CODE', '4.72.953'); // MSIN-4553 — nom toujours dans bande Détails (+ plaque si dossard) define('_DATE_CODE', '2026-08-03'); //MSIN-4290 define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');