X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/552a647810d16013b26a93299406d5797157faba..f77a3c75bee528caaa6fc8e237ee6eaef704efe0:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 2aca75f53..4d3d7c0c2 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -25,6 +25,8 @@ | <%= link_to t('user.view.my traces'), :controller => 'trace', :action=>'mine' %> | + <%= link_to t('user.view.my bugs'), :controller => 'map_bugs', :action=>'my_bugs' %> + | <%= link_to t('user.view.my settings'), :controller => 'user', :action => 'account', :display_name => @user.display_name %> | <%= link_to t('user.view.oauth settings'), :controller => 'oauth_clients', :action => 'index' %> @@ -43,6 +45,8 @@ | <%= link_to t('user.view.traces'), :controller => 'trace', :action => 'view', :display_name => @this_user.display_name %> | + <%= link_to t('user.view.bugs'), :controller => 'map_bugs', :action=>'my_bugs' %> + | <% if @user and @user.is_friends_with?(@this_user) %> <%= link_to t('user.view.remove as friend'), :controller => 'user', :action => 'remove_friend', :display_name => @this_user.display_name %> <% else %> @@ -96,7 +100,7 @@ <%= t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name) %>

<% else %> - <%= render :partial => 'map' %> + <%= render :partial => 'map', :locals => { :setting_location => false, :show_other_users => true } %> <% end %>