<!-- Displaying user's own profile page to themself -->
<ul class='secondary-actions clearfix'>
<li>
- <%= link_to t('.my edits'), :controller => 'changeset', :action => 'list', :display_name => current_user.display_name %>
+ <%= link_to t('.my edits'), :controller => 'changeset', :action => 'index', :display_name => current_user.display_name %>
<span class='count-number'><%= number_with_delimiter(current_user.changesets.size) %></span>
</li>
<li>
<ul class='secondary-actions clearfix'>
<li>
- <%= link_to t('.edits'), :controller => 'changeset', :action => 'list', :display_name => @user.display_name %>
+ <%= link_to t('.edits'), :controller => 'changeset', :action => 'index', :display_name => @user.display_name %>
<span class='count-number'><%= number_with_delimiter(@user.changesets.size) %></span>
</li>
<li>
<%= link_to t('.notes'), :controller => 'notes', :action=> 'mine' %>
</li>
<li>
- <%= link_to t('.traces'), :controller => 'traces', :action => 'list', :display_name => @user.display_name %>
+ <%= link_to t('.traces'), :controller => 'traces', :action => 'index', :display_name => @user.display_name %>
<span class='count-number'><%= number_with_delimiter(@user.traces.size) %></span>
</li>
</li>
<% end %>
+ <% if current_user and @user.id != current_user.id %>
+ <li>
+ <%= report_link(t(".report"), @user) %>
+ </li>
+ <% end %>
</ul>
<% end %>