X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3aabf07e1038abf8cf471e463e00309df77df603..7c55604f272cdbcbec36ce3831ee9118e006eb2c:/app/views/layouts/site.rhtml?ds=sidebyside diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index c7670e795..c2e4c9bfc 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -24,8 +24,7 @@ <% if @user %> - Welcome, <%= @user.display_name %> | - <%= link_to 'account', {:controller => 'user', :action => 'account'}, {:id => 'loginanchor'}%> | + Welcome, <%= link_to @user.display_name, {:controller => 'user', :action => 'view', :display_name => @user.display_name}, {:id => 'loginanchor'}%> | <%= link_to 'logout', {:controller => 'user', :action => 'logout'}, {:id => 'loginanchor'}%> <% else %> <%= link_to 'log in', {:controller => 'user', :action => 'login'}, {:id => 'loginanchor'}%> | @@ -69,6 +68,7 @@
Help & Wiki
+ <%= link_to "Users' diaries", {:controller => 'diary_entry', :action => 'list'} %>
News blog
Shop