"> <% if logged_in? %>
  • <%= link_to t(".nav.greeting", current_user: current_user.login), user_path(current_user) %>
    • <%= link_to t(".nav.dashboard"), user_path(current_user) %>
    • <% if @current_user_subscriptions_count > 0 %>
    • <%= link_to t(".nav.subscriptions"), user_subscriptions_path(current_user) %>
    • <% end %> <% if @current_user_visible_work_count > 0 %>
    • <%= link_to t(".nav.works"), user_works_path(@current_user) %>
    • <% end %> <% if @current_user_bookmarks_count > 0 %>
    • <%= link_to t(".nav.bookmarks"), user_bookmarks_path(current_user) %>
    • <% end %> <% if @current_user_owned_collections_count > 0 %>
    • <%= link_to t(".nav.collections"), user_collections_path(current_user) %>
    • <% end %> <% if @current_user_challenge_signups_count > 0 %>
    • <%= link_to t(".nav.sign_ups"), user_signups_path(current_user) %>
    • <% end %> <% if @current_user_offer_assignments > 0 %>
    • <%= link_to t(".nav.assignments"), user_assignments_path(current_user) %>
    • <% end %> <% if @current_user.preference.try(:history_enabled?) %>
    • <%= link_to t(".nav.history"), user_readings_path(current_user) %>
    • <% end %>
    • <%= link_to t(".nav.preferences"), user_preferences_path(current_user) %>
    • <% if permit?("opendoors") %>
    • <%= link_to t(".nav.open_doors"), opendoors_tools_path %>
    • <% end %> <% if current_user.is_tag_wrangler? %>
    • <%= link_to t(".nav.tag_wrangling"), tag_wrangler_path(current_user) %>
    • <% end %>
  • <%= link_to t(".nav.post"), new_work_path %>
    • <%= link_to t(".nav.new_work"), new_work_path %>
    • <%= link_to t(".nav.import"), new_work_path(import: "true") %>
    • <%= link_to t("New Status"), new_user_status_path(current_user) %>
    • <% if @current_user_unposted_works_size > 0 %>
    • <%= link_to t(".nav.post_draft"), drafts_user_works_path(@current_user) %>
    • <% end %>
  • <%= link_to t(".nav.log_out"), destroy_user_session_path, method: :delete %>
<% elsif logged_in_as_admin? %>
  • <%= link_to t(".nav.greeting", current_user: current_admin.login), admins_path %>
  • <%= link_to t(".nav.log_out"), destroy_admin_session_path, method: :delete %>
<% end %>

<%= icon_display(current_user) %>