style(instructeur): fix notification exports position in header menu
This commit is contained in:
parent
5b494c2ce7
commit
28c92acf1a
1 changed files with 2 additions and 3 deletions
|
@ -45,6 +45,8 @@
|
||||||
%li.fr-nav__item.relative
|
%li.fr-nav__item.relative
|
||||||
%button.fr-nav__btn{ 'aria-expanded': 'false', 'aria-controls': 'menu-downloads', 'aria-current': ('page' if current_nav_section == 'downloads') }
|
%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')
|
= 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
|
#menu-downloads.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
%li
|
%li
|
||||||
|
@ -54,8 +56,5 @@
|
||||||
%li
|
%li
|
||||||
= link_to t('instructeurs.dossiers.header.banner.export_templates'), export_templates_instructeur_procedure_path(procedure), class: 'fr-nav__link'
|
= 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
|
#last-export-alert
|
||||||
= render partial: "instructeurs/procedures/last_export_alert", locals: { export: @last_export, statut: @statut }
|
= render partial: "instructeurs/procedures/last_export_alert", locals: { export: @last_export, statut: @statut }
|
||||||
|
|
Loading…
Reference in a new issue