2024-08-05 12:06:27 +02:00
|
|
|
.fr-translate.fr-nav
|
|
|
|
.fr-nav__item
|
|
|
|
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
|
|
|
= t('help')
|
2023-02-21 19:15:39 +01:00
|
|
|
|
2024-08-05 15:41:08 +02:00
|
|
|
#help-menu.help-content.fr-collapse.fr-menu
|
2024-08-05 12:06:27 +02:00
|
|
|
- title = dossier.brouillon? ? t("help_dropdown.help_brouillon_title") : t("help_dropdown.help_filled_dossier")
|
|
|
|
%ul.fr-menu__list
|
2019-03-25 16:04:30 +01:00
|
|
|
|
2024-08-05 12:06:27 +02:00
|
|
|
- if dossier.messagerie_available?
|
|
|
|
%li.flex
|
|
|
|
= render partial: 'shared/help/dropdown_items/messagerie_item', locals: { dossier: dossier, title: title }
|
2019-03-25 16:04:30 +01:00
|
|
|
|
2024-08-05 12:06:27 +02:00
|
|
|
- elsif dossier.procedure.service.present?
|
|
|
|
%li.flex
|
|
|
|
= render partial: 'shared/help/dropdown_items/service_item',
|
|
|
|
locals: { service: dossier.procedure.service, title: title }
|
2023-01-06 17:26:28 +01:00
|
|
|
|
2024-08-08 11:23:56 +02:00
|
|
|
%li.flex
|
2024-08-05 12:06:27 +02:00
|
|
|
= render partial: 'shared/help/dropdown_items/faq_item'
|