20 lines
835 B
Text
20 lines
835 B
Text
.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 }
|
|
|
|
%li
|
|
= render partial: 'shared/help/dropdown_items/faq_item'
|