diff --git a/css/style.css b/css/style.css index fe18984..aa79046 100644 --- a/css/style.css +++ b/css/style.css @@ -2610,7 +2610,8 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active { } .epr-block-assign .bib-container .epr-line{ - min-width:980px; + /* MSIN-4475 — place pour le badge auto en fin de ligne. */ + min-width:1100px; } .epr-line-header{ @@ -3214,6 +3215,7 @@ a.ms1-trad-link.btn-aide-trad{ /* MSIN-4379 / MSIN-4469 — cadenas utilisateur + impression + view/OK/stats. */ /* MSIN-4429 — colonnes Début | Qté | ou | Fin (alignées sur l'en-tête). */ +/* MSIN-4475 — dernière colonne assez large pour le badge « Assignation automatique ». */ .epr-line{ display:grid; grid-template-columns: @@ -3227,7 +3229,7 @@ a.ms1-trad-link.btn-aide-trad{ minmax(72px, 88px) 48px minmax(164px, 180px) - minmax(32px, 44px); + minmax(150px, 170px); gap:8px; align-items:center; width:100%; @@ -3439,11 +3441,12 @@ a.ms1-trad-link.btn-aide-trad{ } .epr-col-batch{ - overflow:hidden; + /* MSIN-4475 — ne plus couper le badge auto (flex-end + overflow masquait « Assignation »). */ + overflow:visible; min-width:0; display:flex; align-items:center; - justify-content:flex-end; + justify-content:flex-start; gap:4px; } diff --git a/php/inc_fx_bib_production.php b/php/inc_fx_bib_production.php index db37a8e..38ad704 100644 --- a/php/inc_fx_bib_production.php +++ b/php/inc_fx_bib_production.php @@ -58,12 +58,15 @@ function fxBibProductionEventIsLocked($intEveId) { return fxBibProductionGetActiveOrder($intEveId) !== null; } -/** MSIN-4469 — Garde-fou temporaire réservé au superadmin pendant le développement. */ +/** + * MSIN-4469 — Déverrouillage temporaire (dev) : même droit que la génération + * (promoteur avec dossards.manage, ou superadmin). + */ function fxBibProductionDevelopmentUnlock($intEveId) { global $objDatabase; $intEveId = (int)$intEveId; - if ($intEveId <= 0 || empty($_SESSION['usa_id'])) { + if ($intEveId <= 0 || !fxBibProductionUserCanManageEvent($intEveId)) { return ['success' => false, 'message' => fxBibMsg('bib_v4_ajax_unauthorized')]; } diff --git a/php/inc_fx_promoteur.php b/php/inc_fx_promoteur.php index 63fe838..1945218 100644 --- a/php/inc_fx_promoteur.php +++ b/php/inc_fx_promoteur.php @@ -5068,7 +5068,7 @@ function renderBibProductionPreview(array $tabEpreuves, $strLangue = 'fr') {

- +

@@ -5082,7 +5082,6 @@ function renderBibProductionPreview(array $tabEpreuves, $strLangue = 'fr') {
- 0) { ?>