MSIN-4467 — Implement new workspace architecture for bib management, including preparation, production, and operations sections. Update CSS for improved layout and styling of workspace elements. Increment version code to 4.72.843.
This commit is contained in:
42
sql/MSIN-4467-refonte-visuelle-dossards-rollback.sql
Normal file
42
sql/MSIN-4467-refonte-visuelle-dossards-rollback.sql
Normal file
@ -0,0 +1,42 @@
|
||||
-- MSIN-4467 — Rollback des libellés de la refonte visuelle
|
||||
-- À exécuter seulement après retour à une version du code antérieure à MSIN-4467.
|
||||
-- Supprime uniquement les nouvelles clés Info ajoutées par ce ticket.
|
||||
|
||||
DELETE FROM info
|
||||
WHERE info_prg = 'compte.php'
|
||||
AND info_clef IN (
|
||||
'bib_v5_workspace_label',
|
||||
'bib_v5_workspace_preparation',
|
||||
'bib_v5_workspace_production',
|
||||
'bib_v5_workspace_operations',
|
||||
'bib_v5_workspace_settings',
|
||||
'bib_v5_preparation_intro',
|
||||
'bib_v5_stat_races',
|
||||
'bib_v5_stat_registered',
|
||||
'bib_v5_stat_assigned',
|
||||
'bib_v5_stat_pending',
|
||||
'bib_v5_race_ready',
|
||||
'bib_v5_race_incomplete',
|
||||
'bib_v5_ranges_title',
|
||||
'bib_v5_ranges_hint',
|
||||
'bib_v5_method_title',
|
||||
'bib_v5_batch_title',
|
||||
'bib_v5_batch_hint',
|
||||
'bib_v5_auto_title',
|
||||
'bib_v5_auto_hint',
|
||||
'bib_v5_advanced_actions',
|
||||
'bib_v5_production_intro',
|
||||
'bib_v5_production_planned',
|
||||
'bib_v5_production_step_ranges',
|
||||
'bib_v5_production_step_answers',
|
||||
'bib_v5_production_step_review',
|
||||
'bib_v5_production_step_printer',
|
||||
'bib_v5_production_categories',
|
||||
'bib_v5_production_ranges',
|
||||
'bib_v5_production_color',
|
||||
'bib_v5_production_questions',
|
||||
'bib_v5_production_to_define',
|
||||
'bib_v5_production_status',
|
||||
'bib_v5_operations_intro',
|
||||
'bib_v5_settings_intro'
|
||||
);
|
||||
108
sql/MSIN-4467-refonte-visuelle-dossards.sql
Normal file
108
sql/MSIN-4467-refonte-visuelle-dossards.sql
Normal file
@ -0,0 +1,108 @@
|
||||
-- MSIN-4467 — Refonte visuelle de la gestion des dossards
|
||||
-- Ajoute uniquement de nouvelles clés Info pour la navigation et l'aperçu de production.
|
||||
-- Idempotent. Aucun libellé existant ni aucune donnée métier ne sont modifiés.
|
||||
|
||||
INSERT INTO info (
|
||||
info_clef,
|
||||
info_langue,
|
||||
info_texte,
|
||||
info_aide,
|
||||
info_prg,
|
||||
info_description,
|
||||
info_trie,
|
||||
info_actif,
|
||||
info_option1,
|
||||
info_option2,
|
||||
info_option3,
|
||||
info_creation
|
||||
)
|
||||
SELECT
|
||||
src.info_clef,
|
||||
src.info_langue,
|
||||
src.info_texte,
|
||||
src.info_aide,
|
||||
'compte.php',
|
||||
'MSIN-4467',
|
||||
0,
|
||||
1,
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
NOW()
|
||||
FROM (
|
||||
SELECT 'bib_v5_workspace_label' info_clef, 'fr' info_langue, 'Gestion des dossards' info_texte, '' info_aide
|
||||
UNION ALL SELECT 'bib_v5_workspace_label', 'en', 'Bib management', ''
|
||||
UNION ALL SELECT 'bib_v5_workspace_preparation', 'fr', 'Préparation', 'Préparer les épreuves, les plages de numéros et l''attribution des dossards.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_preparation', 'en', 'Preparation', 'Prepare races, number ranges and bib assignment.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_production', 'fr', 'Production de dossards', 'Préparer les choix à transmettre à l''imprimeur à partir des plages existantes.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_production', 'en', 'Bib production', 'Prepare printer instructions using existing bib ranges.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_operations', 'fr', 'Opérations', 'Vérifier les anomalies et préparer la distribution.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_operations', 'en', 'Operations', 'Review anomalies and prepare distribution.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_settings', 'fr', 'Réglages', 'Règles qui s''appliquent à l''ensemble de l''événement.'
|
||||
UNION ALL SELECT 'bib_v5_workspace_settings', 'en', 'Settings', 'Rules that apply to the entire event.'
|
||||
UNION ALL SELECT 'bib_v5_preparation_intro', 'fr', 'Préparez les épreuves et attribuez les dossards aux inscriptions.', ''
|
||||
UNION ALL SELECT 'bib_v5_preparation_intro', 'en', 'Prepare races and assign bibs to registrations.', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_races', 'fr', 'Épreuves actives', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_races', 'en', 'Active races', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_registered', 'fr', 'Inscriptions', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_registered', 'en', 'Registrations', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_assigned', 'fr', 'Dossards attribués', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_assigned', 'en', 'Assigned bibs', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_pending', 'fr', 'À attribuer', ''
|
||||
UNION ALL SELECT 'bib_v5_stat_pending', 'en', 'To assign', ''
|
||||
UNION ALL SELECT 'bib_v5_race_ready', 'fr', 'Prête', ''
|
||||
UNION ALL SELECT 'bib_v5_race_ready', 'en', 'Ready', ''
|
||||
UNION ALL SELECT 'bib_v5_race_incomplete', 'fr', 'À compléter', ''
|
||||
UNION ALL SELECT 'bib_v5_race_incomplete', 'en', 'To complete', ''
|
||||
UNION ALL SELECT 'bib_v5_ranges_title', 'fr', 'Plages de numéros', ''
|
||||
UNION ALL SELECT 'bib_v5_ranges_title', 'en', 'Number ranges', ''
|
||||
UNION ALL SELECT 'bib_v5_ranges_hint', 'fr', 'Définissez les numéros disponibles pour cette épreuve.', ''
|
||||
UNION ALL SELECT 'bib_v5_ranges_hint', 'en', 'Define the numbers available for this race.', ''
|
||||
UNION ALL SELECT 'bib_v5_method_title', 'fr', 'Méthode d’attribution', ''
|
||||
UNION ALL SELECT 'bib_v5_method_title', 'en', 'Assignment method', ''
|
||||
UNION ALL SELECT 'bib_v5_batch_title', 'fr', 'Attribuer maintenant', ''
|
||||
UNION ALL SELECT 'bib_v5_batch_title', 'en', 'Assign now', ''
|
||||
UNION ALL SELECT 'bib_v5_batch_hint', 'fr', 'Attribuer en lot aux inscriptions qui n’ont pas encore de dossard.', ''
|
||||
UNION ALL SELECT 'bib_v5_batch_hint', 'en', 'Assign in bulk to registrations that do not have a bib yet.', ''
|
||||
UNION ALL SELECT 'bib_v5_auto_title', 'fr', 'Nouvelles inscriptions', ''
|
||||
UNION ALL SELECT 'bib_v5_auto_title', 'en', 'New registrations', ''
|
||||
UNION ALL SELECT 'bib_v5_auto_hint', 'fr', 'Attribuer automatiquement un dossard lors des prochaines inscriptions.', ''
|
||||
UNION ALL SELECT 'bib_v5_auto_hint', 'en', 'Automatically assign a bib to future registrations.', ''
|
||||
UNION ALL SELECT 'bib_v5_advanced_actions', 'fr', 'Actions avancées', ''
|
||||
UNION ALL SELECT 'bib_v5_advanced_actions', 'en', 'Advanced actions', ''
|
||||
UNION ALL SELECT 'bib_v5_production_intro', 'fr', 'Préparez les informations nécessaires à l’impression des dossards à partir des plages déjà configurées.', ''
|
||||
UNION ALL SELECT 'bib_v5_production_intro', 'en', 'Prepare the information required to print bibs using the ranges already configured.', ''
|
||||
UNION ALL SELECT 'bib_v5_production_planned', 'fr', 'Fonctionnalité prévue — aucune donnée ne sera enregistrée pour le moment.', ''
|
||||
UNION ALL SELECT 'bib_v5_production_planned', 'en', 'Planned feature — no data will be saved yet.', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_ranges', 'fr', 'Choisir les plages', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_ranges', 'en', 'Choose ranges', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_answers', 'fr', 'Répondre par catégorie', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_answers', 'en', 'Answer by category', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_review', 'fr', 'Réviser la production', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_review', 'en', 'Review production', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_printer', 'fr', 'Transmettre à l’imprimeur', ''
|
||||
UNION ALL SELECT 'bib_v5_production_step_printer', 'en', 'Send to printer', ''
|
||||
UNION ALL SELECT 'bib_v5_production_categories', 'fr', 'Préparation par épreuve et catégorie', ''
|
||||
UNION ALL SELECT 'bib_v5_production_categories', 'en', 'Preparation by race and category', ''
|
||||
UNION ALL SELECT 'bib_v5_production_ranges', 'fr', 'Plages existantes', ''
|
||||
UNION ALL SELECT 'bib_v5_production_ranges', 'en', 'Existing ranges', ''
|
||||
UNION ALL SELECT 'bib_v5_production_color', 'fr', 'Couleur du dossard', ''
|
||||
UNION ALL SELECT 'bib_v5_production_color', 'en', 'Bib colour', ''
|
||||
UNION ALL SELECT 'bib_v5_production_questions', 'fr', 'Questions de production', ''
|
||||
UNION ALL SELECT 'bib_v5_production_questions', 'en', 'Production questions', ''
|
||||
UNION ALL SELECT 'bib_v5_production_to_define', 'fr', 'À définir', ''
|
||||
UNION ALL SELECT 'bib_v5_production_to_define', 'en', 'To be defined', ''
|
||||
UNION ALL SELECT 'bib_v5_production_status', 'fr', 'À préparer', ''
|
||||
UNION ALL SELECT 'bib_v5_production_status', 'en', 'To prepare', ''
|
||||
UNION ALL SELECT 'bib_v5_operations_intro', 'fr', 'Contrôlez les anomalies et préparez les documents pour la distribution.', ''
|
||||
UNION ALL SELECT 'bib_v5_operations_intro', 'en', 'Review anomalies and prepare distribution documents.', ''
|
||||
UNION ALL SELECT 'bib_v5_settings_intro', 'fr', 'Gérez les règles qui s’appliquent à l’ensemble de l’événement.', ''
|
||||
UNION ALL SELECT 'bib_v5_settings_intro', 'en', 'Manage rules that apply to the entire event.', ''
|
||||
) src
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM info current_info
|
||||
WHERE current_info.info_clef = src.info_clef
|
||||
AND current_info.info_langue = src.info_langue
|
||||
AND current_info.info_prg = 'compte.php'
|
||||
);
|
||||
Reference in New Issue
Block a user