X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73c95847a6680bea7f35fe5b3da6eb4e52757b9c..bfffe7ed96e1aba434ca40b488264c43d8f679ff:/app/views/users/show.html.erb?ds=inline diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 011226109..440d68874 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -11,7 +11,7 @@ <%= number_with_delimiter(current_user.changesets.size) %>
  • - <%= link_to t(".my notes"), :controller => "notes", :action => "mine" %> + <%= link_to t(".my notes"), user_notes_path(@user) %>
  • <%= link_to t(".my traces"), :controller => "traces", :action => "mine" %> @@ -53,7 +53,7 @@ <%= number_with_delimiter(@user.changesets.size) %>
  • - <%= link_to t(".notes"), :controller => "notes", :action => "mine" %> + <%= link_to t(".notes"), user_notes_path(@user) %>
  • <%= link_to t(".traces"), :controller => "traces", :action => "index", :display_name => @user.display_name %> @@ -111,43 +111,43 @@ <% end %> - <% if can?(:set_status, User) || can?(:delete, User) %> + <% if can?(:set_status, User) || can?(:destroy, User) %> <% end %> -

    +

    <%= t ".mapper since" %> <%= l @user.creation_time.to_date, :format => :long %> <% unless @user.terms_agreed %> @@ -168,7 +168,7 @@ <% if current_user and current_user.administrator? -%> -

    +