<%= link_to t('.my notes'), :controller => 'notes', :action=> 'mine' %>
</li>
<li>
- <%= link_to t('.my traces'), :controller => 'trace', :action=>'mine' %>
+ <%= link_to t('.my traces'), :controller => 'traces', :action => 'mine' %>
<span class='count-number'><%= number_with_delimiter(current_user.traces.size) %></span>
</li>
<li>
<%= link_to t('.notes'), :controller => 'notes', :action=> 'mine' %>
</li>
<li>
- <%= link_to t('.traces'), :controller => 'trace', :action => 'list', :display_name => @user.display_name %>
+ <%= link_to t('.traces'), :controller => 'traces', :action => 'list', :display_name => @user.display_name %>
<span class='count-number'><%= number_with_delimiter(@user.traces.size) %></span>
</li>
<!-- Displaying another user's profile page -->
<li>
- <%= link_to t('.send message'), :controller => 'message', :action => 'new', :display_name => @user.display_name %>
+ <%= link_to t('.send message'), new_message_path(@user) %>
</li>
<li>
<%= link_to t('.diary'), :controller => 'diary_entry', :action => 'list', :display_name => @user.display_name %>
</li>
<% end %>
+ <% if current_user and @user.id != current_user.id %>
+ <li>
+ <%= report_link(t(".report"), @user) %>
+ </li>
+ <% end %>
</ul>
<% end %>