mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Show username in log out link
This commit is contained in:
parent
0a3e631d84
commit
bfba09f0a4
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@
|
||||||
%li
|
%li
|
||||||
= link_to t('shared.users'), admin_users_path
|
= link_to t('shared.users'), admin_users_path
|
||||||
%ul.nav.navbar-nav.navbar-right
|
%ul.nav.navbar-nav.navbar-right
|
||||||
%li= link_to t('shared.log_out'), '/logout'
|
%li= link_to t('shared.log_out', user: current_user), '/logout'
|
||||||
/ /.nav-collapse
|
/ /.nav-collapse
|
||||||
.container
|
.container
|
||||||
- display = (flash.empty?) ? 'none' : 'block'
|
- display = (flash.empty?) ? 'none' : 'block'
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
- next if x == current_registrar
|
- next if x == current_registrar
|
||||||
%li
|
%li
|
||||||
= link_to x, switch_registrar_sessions_path(registrar_id: x)
|
= link_to x, switch_registrar_sessions_path(registrar_id: x)
|
||||||
%li= link_to t('shared.log_out'), '/logout'
|
%li= link_to t('shared.log_out', user: current_user), '/logout'
|
||||||
/ /.nav-collapse
|
/ /.nav-collapse
|
||||||
.container
|
.container
|
||||||
- display = (flash.empty?) ? 'none' : 'block'
|
- display = (flash.empty?) ? 'none' : 'block'
|
||||||
|
|
|
@ -229,7 +229,7 @@ en:
|
||||||
action: 'Action'
|
action: 'Action'
|
||||||
edit: 'Edit'
|
edit: 'Edit'
|
||||||
save: 'Save'
|
save: 'Save'
|
||||||
log_out: 'Log out'
|
log_out: 'Log out (%{user})'
|
||||||
system: 'System'
|
system: 'System'
|
||||||
settings: 'Settings'
|
settings: 'Settings'
|
||||||
domains: 'Domains'
|
domains: 'Domains'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue