X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..75edd4d0293266291e809e4d1f3fdb408b7f48c9:/app/views/user/view.html.erb?ds=inline diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index de2e93f94..fc7b59929 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -10,6 +10,9 @@ <%= link_to t('user.view.my edits'), :controller => 'changeset', :action => 'list', :display_name => @user.display_name %> <%= number_with_delimiter(@user.changesets.size) %> +
  • + <%= link_to t('user.view.my notes'), :controller => 'notes', :action=> 'mine' %> +
  • <%= link_to t('user.view.my traces'), :controller => 'trace', :action=>'mine' %> <%= number_with_delimiter(@user.traces.size) %> @@ -49,6 +52,9 @@ <%= link_to t('user.view.edits'), :controller => 'changeset', :action => 'list', :display_name => @this_user.display_name %> <%= number_with_delimiter(@this_user.changesets.size) %>
  • +
  • + <%= link_to t('user.view.notes'), :controller => 'notes', :action=> 'mine' %> +
  • <%= link_to t('user.view.traces'), :controller => 'trace', :action => 'list', :display_name => @this_user.display_name %> <%= number_with_delimiter(@this_user.traces.size) %> @@ -69,8 +75,10 @@
  • <% if @user and @user.is_friends_with?(@this_user) %> <%= link_to t('user.view.remove as friend'), remove_friend_path(:display_name => @this_user.display_name), :method => :post %> - <% else %> + <% elsif @user %> <%= link_to t('user.view.add as friend'), make_friend_path(:display_name => @this_user.display_name), :method => :post %> + <% else %> + <%= link_to t('user.view.add as friend'), make_friend_path(:display_name => @this_user.display_name) %> <% end %>
  • @@ -146,7 +154,7 @@

    -
    <%= @this_user.description.to_html %>
    +
    <%= @this_user.description.to_html %>