Enhance bib event configuration with inter-epreuve option and update version code to 4.72.754

This commit introduces a new feature allowing the same bib numbers across different epreuves, enhancing event management flexibility. It includes updates to the CSS for improved layout, JavaScript functions to manage visibility of configuration notes, and new database entries for the inter-epreuve setting. The version code is incremented to reflect these changes.
This commit is contained in:
2026-07-08 10:32:03 -04:00
parent 5184544d6f
commit 7d342216f8
5 changed files with 71 additions and 4 deletions

View File

@ -2778,6 +2778,15 @@
});
});
function syncBibEventConfigHeaderNote() {
let note = document.querySelector('[data-bib-inter-epr-note]');
let chk = moduleBib.querySelector('.bib-event-allow-inter-epr');
if (!note || !chk) {
return;
}
note.classList.toggle('bib-ui-hidden', !chk.checked);
}
// MSIN-4424 — Autoriser mêmes numéros entre épreuves (réglage événement).
let chkAllowInterEpr = moduleBib.querySelector('.bib-event-allow-inter-epr');
if (chkAllowInterEpr) {
@ -2807,6 +2816,7 @@
}
moduleBib.dataset.allowInterEpr = data.allow_inter_epr ? '1' : '0';
syncBibEventConfigHeaderNote();
let mount = document.getElementById('bib-anomalies-mount');
if (mount && data.anomalies_html) {