mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Moved logout under registrar menu
This commit is contained in:
parent
3bfffba7a1
commit
0cf1fd1930
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@
|
||||||
%ul.dropdown-menu{role: "menu"}
|
%ul.dropdown-menu{role: "menu"}
|
||||||
- ApiUser.where(identity_code: current_user.identity_code).includes(:registrar).each do |x|
|
- ApiUser.where(identity_code: current_user.identity_code).includes(:registrar).each do |x|
|
||||||
%li= link_to "#{x} (#{x.roles.first}) - #{x.registrar}", "/registrar/switch_user/#{x.id}"
|
%li= link_to "#{x} (#{x.roles.first}) - #{x.registrar}", "/registrar/switch_user/#{x.id}"
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
%li= link_to t(:log_out_), '/registrar/logout'
|
%li= link_to t(:log_out_), '/registrar/logout'
|
||||||
|
|
||||||
.container
|
.container
|
||||||
= render 'shared/flash'
|
= render 'shared/flash'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue