" role="navigation region">
<%= t(".landmark.choices") %>
- <%= span_if_current t(".choices.dashboard"), @user %>
- <%= span_if_current t("Artist Profile"), user_profile_path(@user) %>
<% if @user.pseuds.size > 1 %>
-
"><%= t(".choices.pseuds") %>
<%= pseud_selector(pseuds_for_sidebar(@user, @pseud)) %>
- <%= span_if_current t(".choices.all_pseuds", pseud_number: @user.pseuds.count), user_pseuds_path(@user) %>
<% end %>
<% if @user == current_user %>
- <%= span_if_current t(".choices.preferences"), user_preferences_path(@user) %>
- <%= span_if_current t(".choices.skins"), user_skins_path(@user) %>
<% end %>
<%= t(".landmark.pitch") %>
- <%= works_link(@user, @pseud) %>
<% if @user == current_user || logged_in_as_admin? %>
- <%= span_if_current t(".pitch.drafts", drafts_number: @user.unposted_works.size), drafts_user_works_path(@user) %>
<% end %>
- <%= series_link(@user, @pseud) %>
<% unless @user == User.orphan_account %>
- <%= bookmarks_link(@user, @pseud) %>
<% end %>
- <%= span_if_current t(".pitch.collections", coll_number: @user.maintained_collections.count), user_collections_path(@user) %>
<% if @user == current_user || policy(:inbox_comment).show? %>
<%= t(".landmark.catch") %>
- <%= span_if_current t(".catch.inbox", inbox_number: @user.unread_inbox_comments_count.to_s), user_inbox_path(@user) %>
<% if @user == current_user %>
- <%= span_if_current t(".catch.statistics"), user_stats_path(@user) %>
<% if @user.preference.try(:history_enabled?) %>
- <%= span_if_current t(".catch.history"), user_readings_path(@user) %>
<% end %>
- <%= span_if_current t(".catch.subscriptions"), user_subscriptions_path(@user) %>
<% end %>
<% end %>
<%= t(".landmark.switch") %>
<% if @user == current_user %>
<% if @user.preference.allow_cocreator %>
- <%= span_if_current t(".switch.co_creator_requests", count: Creatorship.unapproved.for_user(@user).count), user_creatorships_path(@user) %>
<% end %>
- <%= span_if_current t(".switch.sign_ups", signup_number: @user.challenge_signups.count), user_signups_path(@user) %>
- <%= span_if_current t(".switch.assignments", assignment_number: (@user.offer_assignments.undefaulted.count + @user.pinch_hit_assignments.undefaulted.count)), user_assignments_path(@user) %>
- <%= span_if_current t(".switch.claims", claim_number: @user.request_claims.unposted.count), user_claims_path(@user) %>
- <%= span_if_current t(".switch.related_works", related_works_number: (@user.related_works.posted.count + @user.parent_work_relationships.count)), user_related_works_path(@user) %>
<% end %>
- <%= gifts_link(@user) %>