diary / user bits
This commit is contained in:
parent
3aabf07e10
commit
f9baf5f392
10 changed files with 28 additions and 9 deletions
|
@ -24,8 +24,7 @@
|
|||
|
||||
<span id="greeting">
|
||||
<% 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'}%> |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue