Display the login name, instead of just "My Account"
This commit is contained in:
@@ -92,7 +92,11 @@ feature -- Hooks
|
|||||||
a_execution.add_to_main_menu (lnk)
|
a_execution.add_to_main_menu (lnk)
|
||||||
end
|
end
|
||||||
if a_execution.authenticated then
|
if a_execution.authenticated then
|
||||||
|
if attached a_execution.user as u then
|
||||||
|
create lnk.make ("My Account (" + u.name + ")", "/user")
|
||||||
|
else
|
||||||
create lnk.make ("My Account", "/user")
|
create lnk.make ("My Account", "/user")
|
||||||
|
end
|
||||||
a_menu_system.user_menu.extend (lnk)
|
a_menu_system.user_menu.extend (lnk)
|
||||||
create lnk.make ("Logout", "/user/logout")
|
create lnk.make ("Logout", "/user/logout")
|
||||||
a_menu_system.user_menu.extend (lnk)
|
a_menu_system.user_menu.extend (lnk)
|
||||||
|
|||||||
Reference in New Issue
Block a user