2017-02-13 15:46:28 +01:00
|
|
|
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
2017-04-12 11:12:05 +02:00
|
|
|
#switch-menu.dropdown.dropup
|
2017-04-06 19:10:25 +02:00
|
|
|
%button.btn.btn-default.dropdown-toggle{ type: :button, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false }
|
2016-12-07 18:00:27 +01:00
|
|
|
%i.fa.fa-toggle-on
|
|
|
|
%span.caret
|
|
|
|
%ul.dropdown-menu.dropdown-menu-left
|
|
|
|
- if user_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to(users_dossiers_path, id: :menu_item_procedure) do
|
|
|
|
%i.fa.fa-user
|
|
|
|
|
2017-04-26 15:13:50 +02:00
|
|
|
Usager
|
2016-12-07 18:00:27 +01:00
|
|
|
- if gestionnaire_signed_in?
|
|
|
|
%li
|
2018-02-21 15:06:21 +01:00
|
|
|
= link_to(gestionnaire_procedures_path) do
|
2016-12-07 18:00:27 +01:00
|
|
|
%i.fa.fa-user
|
|
|
|
|
|
|
|
Accompagnateur
|
|
|
|
|
|
|
|
- if administrateur_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to(admin_procedures_path) do
|
|
|
|
%i.fa.fa-user
|
|
|
|
|
2017-04-04 15:27:04 +02:00
|
|
|
Administrateur
|