User header should not display the 'go to user interface' button
This commit is contained in:
parent
79b0d8a407
commit
7cf21d5171
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
= image_tag "icons/super-admin.svg"
|
= image_tag "icons/super-admin.svg"
|
||||||
Passer en super-admin
|
Passer en super-admin
|
||||||
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
||||||
- if user_signed_in? && nav_bar_profile != :usager
|
- if user_signed_in? && nav_bar_profile != :user
|
||||||
%li
|
%li
|
||||||
= link_to users_dossiers_path, class: "menu-item menu-link" do
|
= link_to users_dossiers_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue