<% if policy(Article).has_existing_articles_or_can_create_new_ones? %>
  • " href="<%= dashboard_path %>" <%= params[:action] == "show" && (params[:which] == "organization" || params[:which].blank?) ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.posts") %> <%= @user.articles_count %>
  • " href="<%= user_series_path(current_user.username) %>" <%= params[:action] == "series" && (params[:which] == "organization" || params[:which].blank?) ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.series") %> <%= @collections_count %>
  • " href="/dashboard/user_followers" <%= params[:action] == "followers" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.followers") %> <%= @user.good_standing_followers_count %>
  • <% end %>
  • " href="<%= dashboard_following_tags_path %>" <%= params[:action] == "following_tags" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.following_tags") %> <%= @user.cached_followed_tag_names.size %>
  • " href="<%= dashboard_following_users_path %>" <%= params[:action] == "following_users" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.following_users") %> <%= @user.following_users_count %>
  • " href="<%= dashboard_following_organizations_path %>" <%= params[:action] == "following_organizations" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.following_orgs") %> <%= @user.following_organizations_count %>
  • " href="<%= dashboard_following_podcasts_path %>" <%= params[:action] == "following_podcasts" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.following_pods") %> <%= @user.following_podcasts_count %>
  • <%- if Listing.feature_enabled? %>
  • <%= t("views.dashboard.actions.listings") %> <%= crayons_icon_tag("external-link", class: "ml-1") %>
  • <%- end %> <%- if policy(Article).has_existing_articles_or_can_create_new_ones? %>
  • <%= t("views.dashboard.actions.analytics") %>
  • <%- end %>
  • " href="<%= dashboard_hidden_tags_path %>" <%= params[:action] == "hidden_tags" ? ' aria-current="page"'.html_safe : "" %>> <%= t("views.dashboard.actions.hidden_tags") %> <%= @user.cached_antifollowed_tag_names.size %>
  • <% if @organizations && (params[:which].blank? || params[:which] == "organization") %> <% @organizations.each do |org| %>
  • <%= t("views.dashboard.actions.for_org", org: org.name) %>
  • <% end %> <% end %> <% if policy(:video).new? %> <%= t("views.dashboard.actions.upload") %> <% end %>