From b2fa1c24d62002f870c9bf4dad4010c8953505a8 Mon Sep 17 00:00:00 2001 From: Dan Karran Date: Sat, 23 Jun 2007 10:39:23 +0000 Subject: [PATCH] Link from user profile to view traces and to set home location if none is set. --- app/views/user/view.rhtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 2090c2d5a..f631a1391 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -13,7 +13,9 @@ <% else %> <%= link_to 'Send message', :controller => 'message', :action => 'new', :user_id => @this_user.id %>
<%= link_to 'Add as friend', :controller => 'user', :action => 'make_friend', :display_name => @this_user.display_name %>
-<%= 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 %>
+<%= link_to 'View traces', :controller => 'trace', :action=>'view', :display_name => @this_user.display_name %> + <% end %>

Nearby users

@@ -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 %> -- 2.39.5