X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/26777c44648f908b723c0c74b65972f75ac5fd3d..74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b:/app/views/users/show.html.erb
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index c7a41b687..4f08b6351 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -7,11 +7,11 @@
-
- <%= link_to t('.my edits'), :controller => 'changeset', :action => 'index', :display_name => current_user.display_name %>
+ <%= link_to t('.my edits'), :controller => 'changesets', :action => 'index', :display_name => current_user.display_name %>
<%= number_with_delimiter(current_user.changesets.size) %>
-
- <%= link_to t('.my notes'), :controller => 'notes', :action=> 'mine' %>
+ <%= link_to t('.my notes'), :controller => 'notes', :action => 'mine' %>
-
<%= link_to t('.my traces'), :controller => 'traces', :action => 'mine' %>
@@ -22,7 +22,7 @@
<%= number_with_delimiter(current_user.diary_entries.size) %>
-
- <%= link_to t('.my comments' ), :controller => 'diary_entries', :action => 'comments', :display_name => current_user.display_name %>
+ <%= link_to t('.my comments'), :controller => 'diary_entries', :action => 'comments', :display_name => current_user.display_name %>
-
<%= link_to t('.my settings'), :controller => 'users', :action => 'account', :display_name => current_user.display_name %>
@@ -49,11 +49,11 @@
-
- <%= link_to t('.edits'), :controller => 'changeset', :action => 'index', :display_name => @user.display_name %>
+ <%= link_to t('.edits'), :controller => 'changesets', :action => 'index', :display_name => @user.display_name %>
<%= number_with_delimiter(@user.changesets.size) %>
-
- <%= link_to t('.notes'), :controller => 'notes', :action=> 'mine' %>
+ <%= link_to t('.notes'), :controller => 'notes', :action => 'mine' %>
-
<%= link_to t('.traces'), :controller => 'traces', :action => 'index', :display_name => @user.display_name %>
@@ -190,10 +190,10 @@
:lon => current_user.home_lon,
:lat => current_user.home_lat,
:icon => image_path("marker-red.png"),
- :description => render(:partial => "popup", :object => current_user, :locals => {:type => "your location"})
+ :description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" })
}
%>
- <%= content_tag "div", "", :id => "map", :class => "content_map", :data => {:user => user_data} %>
+ <%= content_tag "div", "", :id => "map", :class => "content_map", :data => { :user => user_data } %>
<% end %>
<% friends = @user.friends.collect { |f| f.befriendee } %>
@@ -210,7 +210,7 @@
- <%= link_to t('.friends_diaries'), friend_diaries_path %>
- <%= render :partial => "contact", :collection => friends, :locals => {:type => "friend"} %>
+ <%= render :partial => "contact", :collection => friends, :locals => { :type => "friend" } %>
<% end %>
@@ -226,7 +226,7 @@
- <%= link_to t('.nearby_diaries'), nearby_diaries_path %>
- <%= render :partial => "contact", :collection => nearby, :locals => {:type => "nearby mapper"} %>
+ <%= render :partial => "contact", :collection => nearby, :locals => { :type => "nearby mapper" } %>
<% end %>