demarches-normaliennes/app/views/shared/help/_help_dropdown_dossier.html.haml

21 lines
839 B
Text
Raw Normal View History

.fr-translate.fr-nav
.fr-nav__item
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
= t('help')
#help-menu.help-content.fr-collapse.fr-menu
- title = dossier.brouillon? ? t("help_dropdown.help_brouillon_title") : t("help_dropdown.help_filled_dossier")
%ul.fr-menu__list
- if dossier.messagerie_available?
%li.flex
= render partial: 'shared/help/dropdown_items/messagerie_item', locals: { dossier: dossier, title: title }
- elsif dossier.procedure.service.present?
%li.flex
= render partial: 'shared/help/dropdown_items/service_item',
locals: { service: dossier.procedure.service, title: title }
2024-08-08 11:23:56 +02:00
%li.flex
= render partial: 'shared/help/dropdown_items/faq_item'