2017-02-13 15:46:28 +01:00
|
|
|
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
2019-02-26 17:51:26 +01:00
|
|
|
#switch-menu.dropdown.dropup
|
|
|
|
%button.btn.btn-default.dropdown-toggle{ type: :button, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false }
|
|
|
|
%i.fa.fa-toggle-on
|
|
|
|
%span.caret
|
|
|
|
%ul.dropdown-menu.dropdown-menu-left
|
|
|
|
- if user_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to(dossiers_path, id: :menu_item_procedure) do
|
|
|
|
%i.fa.fa-user
|
|
|
|
|
|
|
|
Usager
|
|
|
|
- if gestionnaire_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to(gestionnaire_procedures_path) do
|
|
|
|
%i.fa.fa-user
|
|
|
|
|
|
|
|
Instructeur
|
|
|
|
|
|
|
|
- if administrateur_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to(admin_procedures_path) do
|
|
|
|
%i.fa.fa-user
|
|
|
|
|
|
|
|
Administrateur
|