<% if user_signed_in? %>
  <li>
    <%= link_to notifications_path, class: "notifications", accesskey: "n" do %>
      <% if current_user.notifications_count > 0 %>
        <span class="icon-circle" aria-hidden="true"></span>
        <span class="icon-notification" aria-hidden="true" title="<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>">
        </span>
      <% else %>
        <span class="icon-no-notification" aria-hidden="true" title="<%= t('layouts.header.no_notifications') %>"></span>
      <% end %>
    <% end %>
  </li>
  <li>
    <%= link_to(t("layouts.header.my_activity_link"), user_path(current_user), accesskey: "a") %>
  </li>
  <li>
    <%= link_to(t("layouts.header.my_account_link"), account_path, accesskey: "m") %>
  </li>
  <li>
    <%= link_to(t("devise_views.menu.login_items.logout"), destroy_user_session_path, method: :delete) %>
  </li>
<% else %>
  <li>
    <%= link_to(t("devise_views.menu.login_items.login"), new_user_session_path)  %>
  </li>
  <li>
    <%= link_to(t("devise_views.menu.login_items.signup"), new_user_registration_path, class: "button") %>
  </li>
<% end %>
