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:
commit
26018be459
1 changed files with 2 additions and 3 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue