+ <li>
+ <%= 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(".my diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %>
+ <span class='count-number'><%= number_with_delimiter(current_user.diary_entries.size) %></span>
+ </li>
+ <li>
+ <%= link_to t(".my comments"), diary_comments_path(current_user) %>
+ </li>
+ <li>
+ <%= link_to t(".my settings"), user_account_path(current_user) %>
+ </li>
+
+ <% if current_user.blocks.exists? %>
+ <li>
+ <%= link_to t(".blocks on me"), user_blocks_on_path(current_user) %>
+ <span class='count-number'><%= number_with_delimiter(current_user.blocks.active.size) %></span>
+ </li>
+ <% end %>
+
+ <% if can?(:create, UserBlock) and current_user.blocks_created.exists? %>
+ <li>
+ <%= link_to t(".blocks by me"), user_blocks_by_path(current_user) %>
+ <span class='count-number'><%= number_with_delimiter(current_user.blocks_created.active.size) %></span>
+ </li>
+ <% end %>