X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/536dee8fc7f28ab2fc10a9e0873f33b649ad424f..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 5e7883799..caa7730cb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -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"), diary_comments_path(current_user) %>
  • <%= link_to t(".my settings"), user_account_path(current_user) %> @@ -70,7 +70,7 @@ <%= number_with_delimiter(@user.diary_entries.size) %>
  • - <%= link_to t(".comments"), :controller => "diary_entries", :action => "comments", :display_name => @user.display_name %> + <%= link_to t(".comments"), diary_comments_path(@user) %>
  • <% if current_user and current_user.is_friends_with?(@user) %> @@ -191,7 +191,7 @@
    <% if @user.home_lat.nil? or @user.home_lon.nil? %>
    -

    <%= t(".set_location_html", :edit_profile_url => edit_profile_path) %>

    +

    <%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %>

    <% else %> <% content_for :head do %>