Link from user profile to view traces and to set home location if none is set.
This commit is contained in:
parent
cfa4f10a72
commit
b2fa1c24d6
1 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,9 @@
|
|||
<% else %>
|
||||
<%= link_to 'Send message', :controller => 'message', :action => 'new', :user_id => @this_user.id %><br />
|
||||
<%= link_to 'Add as friend', :controller => 'user', :action => 'make_friend', :display_name => @this_user.display_name %><br />
|
||||
<%= link_to 'View diary', :controller => 'user', :action=>'diary', :display_name => @this_user.display_name %>
|
||||
<%= link_to 'View diary', :controller => 'user', :action=>'diary', :display_name => @this_user.display_name %><br />
|
||||
<%= link_to 'View traces', :controller => 'trace', :action=>'view', :display_name => @this_user.display_name %>
|
||||
|
||||
<% end %>
|
||||
|
||||
<h3>Nearby users</h3>
|
||||
|
@ -34,4 +36,7 @@
|
|||
<%end%>
|
||||
<% else %>
|
||||
No home location has been set.
|
||||
<% if @user and @this_user.id == @user.id %>
|
||||
You can set your home location on your <%= link_to 'settings', :controller => 'user', :action => 'account', :display_name => @user.display_name %> page.
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue