diff --git a/css/style.css b/css/style.css index 3cbf0d4..46be554 100644 --- a/css/style.css +++ b/css/style.css @@ -3340,19 +3340,13 @@ a.ms1-trad-link.btn-aide-trad{ } .inscr-gestion-form-subsection{ - margin-top:12px; - padding-top:12px; + margin-top:4px; + padding-top:4px; border-top:1px solid #e9ecef; } -.inscr-gestion-form-subsection__title{ - display:flex; - align-items:center; - gap:8px; - font-weight:600; - font-size:13px; - margin-bottom:8px; - color:#495057; +.inscr-gestion-label--subsection{ + margin-top:10px; } .inscr-gestion-check{ @@ -3365,13 +3359,10 @@ a.ms1-trad-link.btn-aide-trad{ .inscr-gestion-form-actions{ display:flex; + flex-wrap:wrap; gap:8px; } -.inscr-gestion-form-actions .btn{ - flex:1; -} - .inscr-gestion-list-head{ display:flex; justify-content:space-between; diff --git a/js/v2/bib-assignments.js b/js/v2/bib-assignments.js index c440970..0859788 100644 --- a/js/v2/bib-assignments.js +++ b/js/v2/bib-assignments.js @@ -2530,12 +2530,18 @@ let id = btnDelete.dataset.id; if (!id) return; + let rowDelete = btnDelete.closest('.epr-row'); + let eprIdDelete = rowDelete ? rowDelete.dataset.eprId : ''; + bibFetch('/ajax_bib_range.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, - body: 'action=delete&id=' + encodeURIComponent(id) + bibAjaxLangSuffix() + body: 'action=delete' + + '&id=' + encodeURIComponent(id) + + '&epr_id=' + encodeURIComponent(eprIdDelete) + + bibAjaxLangSuffix() }) .then(res => res.text()) .then(raw => { diff --git a/php/inc_fx_inscriptions_gestion.php b/php/inc_fx_inscriptions_gestion.php index c8cc040..69dc23c 100644 --- a/php/inc_fx_inscriptions_gestion.php +++ b/php/inc_fx_inscriptions_gestion.php @@ -1387,10 +1387,7 @@ function fxInscrGestionRenderList($intEveId, $strLangue, $strBaseUrl, $arrReq) { $strFilterLabel .= ' (' . $intFilterCount . ')'; } echo '
'; - echo '
'; - echo ''; - echo '' . fxInscrGestionEsc($strFilterLabel) . ''; - echo '
'; + echo '
' . fxInscrGestionEsc($strFilterLabel) . '
'; echo ''; echo '