<ul id="tabnav">
<!-- TODO: can an user edit or view messages from another user? -->
<!-- TODO: active class in partials -->
  <% if user_signed_in? and user.id == current_user.id %>
    <li>
    <%= link_to_unless_current t('nlt.messages'), messages_list_path %>
    </li>
  <% end %>
  <li>
    <%= link_to_unless request.fullpath =~ /\/profile\//,
                       t('nlt.profile'),
                       profile_path(user) %>
  </li>
  <li>
  <%= link_to_unless_current t('nlt.user_ads'), listads_user_path(user) %>
  </li>
</ul>

<ul id="tabnav">
<!-- TODO: can an user edit or view messages from another user? -->
<!-- TODO: active class in partials -->
  <% if user_signed_in? and user.id == current_user.id %>
    <li>
    <%= link_to t('nlt.messages'), messages_list_path %>
    </li>
  <% end %>
  <li>
    <%= link_to t('nlt.profile'), profile_path(user) %>
  </li>
  <li>
  <%= link_to t('nlt.user_ads'), listads_user_path(user) %>
  </li>
</ul>

Remove visual inconsistencies in tabs
[users] Remove visual inconsistencies in tabs

In our efforts to remove links to the current tab, tab styles get a
little bit messed up. I think doing this is not worth the effort and
we're not doing it anywhere else (home page, status filters, etc). Plus,
I haven't seen this practice in a lot of places out there and I'm not
sure it's necessarily positive.
