diff --git a/app/assets/images/icons/super-admin.svg b/app/assets/images/icons/super-admin.svg new file mode 100644 index 000000000..bb9584ed5 --- /dev/null +++ b/app/assets/images/icons/super-admin.svg @@ -0,0 +1 @@ +Shape \ No newline at end of file diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index 321d29ff3..07ebc2c16 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -27,7 +27,11 @@ %li .menu-item{ title: current_email } = current_email - + - if administration_signed_in? + %li + = link_to administrations_path, class: "menu-item menu-link" do + = image_tag "icons/super-admin.svg" + Passer en super-admin - if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect? - if user_signed_in? %li