<%= t(".landmark.dashboard") %>
- <%= span_if_current t(".dashboard"), collection_path(@collection), current_page?(collection_path(@collection)) && params[:show_random].blank? %>
- <%= span_if_current t(".profile"), collection_profile_path(@collection) %>
<% if !@collection.collection_profile.faq.blank? %>
- <%= span_if_current t(".faq"), collection_profile_path(@collection, anchor: "faq") %>
<% end %>
<% if !@collection.collection_profile.rules.blank? %>
- <%= span_if_current t(".rules"), collection_profile_path(@collection, anchor: "rules") %>
<% end %>
<% if @collection.parent %>
- <%= link_to t(".parent_collection"), collection_path(@collection.parent) %>
<% else %>
- <%= span_if_current t(".subcollections", count: @collection.children.count), collection_collections_path(@collection) %>
<% end %>
<% if @collection.challenge %>
<%= render partial: "challenge/#{challenge_class_name(@collection)}/challenge_sidebar" %>
<% end %>
<%= t(".landmark.contents") %>
- <%= span_if_current t(".fandoms", count: SearchCounts.fandom_count_for_collection(@collection)), collection_fandoms_path(@collection) %>
- <%= span_if_current t(".works", count: SearchCounts.work_count_for_collection(@collection)), collection_works_path(@collection) %>
- <%= span_if_current t(".bookmarks", count: SearchCounts.bookmarkable_count_for_collection(@collection)), collection_bookmarks_path(@collection) %>
- <%= span_if_current t(".random_items"), collection_path(@collection, show_random: true) %>
- <%= span_if_current t(".people"), collection_people_path(@collection) %>
- <%= span_if_current t(".tags"), collection_tags_path(@collection) %>
<% if @collection.user_is_maintainer?(current_user) %>
<%= t(".landmark.choices") %>
- <%= span_if_current(t(".manage_items"), collection_items_path(@collection)) %>
<% if @collection.user_is_owner?(current_user) %>
<% if @collection.challenge %>
<% if @collection.prompt_meme? %>
- <%= span_if_current t(".challenge_settings"), edit_collection_prompt_meme_path(@collection) %>
<% elsif @collection.gift_exchange? %>
- <%= span_if_current t(".challenge_settings"), edit_collection_gift_exchange_path(@collection) %>
<% end %>
<% end %>
- <%= span_if_current t(".collection_settings"), edit_collection_path(@collection) %>
<% end %>
<% end %>