15 lines
751 B
Text
15 lines
751 B
Text
.dropdown.help-dropdown
|
||
%button.button.primary.dropdown-button{ 'aria-expanded' => 'false', 'aria-controls' => 'help-menu' }
|
||
= t('help')
|
||
#help-menu.dropdown-content.fade-in-down
|
||
%ul.dropdown-items
|
||
- title = dossier.brouillon? ? "Besoin d’aide pour remplir votre dossier ?" : "Une question sur votre dossier ?"
|
||
|
||
- if dossier.messagerie_available?
|
||
= render partial: 'shared/help/dropdown_items/messagerie_item',
|
||
locals: { dossier: dossier, title: title }
|
||
- elsif dossier.procedure.service.present?
|
||
= render partial: 'shared/help/dropdown_items/service_item',
|
||
locals: { service: dossier.procedure.service, title: title }
|
||
|
||
= render partial: 'shared/help/dropdown_items/faq_item'
|