X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/50b2f4f656b82112fce4939da26a1afc6b140e89..e80571c22c91061c3fc5f3b6fc164522d05031cb:/app/views/users/show.html.erb?ds=sidebyside 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? -%> -

    +