Merge pull request #11078 from colinux/instructeurs-fix-exports-notification

ETQ instructeur: fix position de la pastille de notification d'exports dans le menu
This commit is contained in:
Colin Darie 2024-11-25 12:35:52 +00:00 committed by GitHub
commit 26018be459
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,8 @@
%li.fr-nav__item.relative
%button.fr-nav__btn{ 'aria-expanded': 'false', 'aria-controls': 'menu-downloads', 'aria-current': ('page' if current_nav_section == 'downloads') }
= t('instructeurs.dossiers.header.banner.downloads')
- if @has_export_notification
%span.notifications{ 'aria-label': t('instructeurs.dossiers.header.banner.exports_notification_label') }
#menu-downloads.fr-collapse.fr-menu
%ul.fr-menu__list
%li
@ -54,8 +56,5 @@
%li
= link_to t('instructeurs.dossiers.header.banner.export_templates'), export_templates_instructeur_procedure_path(procedure), class: 'fr-nav__link'
- if @has_export_notification
%span.notifications{ 'aria-label': t('instructeurs.dossiers.header.banner.exports_notification_label') }
#last-export-alert
= render partial: "instructeurs/procedures/last_export_alert", locals: { export: @last_export, statut: @statut }