style(instructeur): fix notification exports position in header menu

This commit is contained in:
Colin Darie 2024-11-25 13:26:29 +01:00
parent 5b494c2ce7
commit 28c92acf1a
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

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 }