MSIN-4467 — Remove 'anomalies' button from bib tool navigation and update JavaScript logic for tool categorization. Increment version code to 4.72.850.

This commit is contained in:
2026-07-21 12:28:52 -04:00
parent eedb5d45d4
commit c6be4c38a6
3 changed files with 5 additions and 3 deletions

View File

@ -540,7 +540,7 @@
if (toolId === 'event_config') {
return 'settings';
}
if (toolId === 'global_batch' || toolId === 'anomalies' || toolId === 'dist_print') {
if (toolId === 'global_batch' || toolId === 'dist_print') {
return 'operations';
}
return 'preparation';

View File

@ -4873,6 +4873,9 @@ function renderBibPreparationOverview(array $tabEpreuves, $strAnomBadges = '') {
</div>
<?php } ?>
</dl>
<nav class="bib-tool-nav bib-tool-nav--group" aria-label="<?php echo fxBibEsc(fxBibTexte('bib_v5_group_bibs', 0)); ?>">
<?php echo renderBibToolNavBtn('anomalies', 'bib_v4_anomalies_title', $strAnomBadges); ?>
</nav>
</section>
</div>
</div>
@ -4993,7 +4996,6 @@ function renderBibToolNav($int_eve_id, $tabEpreuves, $strLangue = 'fr') {
<?php if (fxBibGlobalBatchToolIsAvailable($int_eve_id, $tabEpreuves)) {
echo renderBibToolNavBtn('global_batch', 'bib_v4_global_batch_title');
} ?>
<?php echo renderBibToolNavBtn('anomalies', 'bib_v4_anomalies_title', $strAnomBadges); ?>
<?php echo renderBibToolNavBtn('dist_print', 'bib_v4_dist_print_title'); ?>
</nav>
</section>

View File

@ -7,7 +7,7 @@
* Constantes *
*
**************/
define('_VERSION_CODE', '4.72.849');
define('_VERSION_CODE', '4.72.850');
define('_DATE_CODE', '2026-07-21');
//MSIN-4290
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');