% provide(:head_title, t("libraries.index.head_title")) %>
<% provide(:container_class, "no-second-nav-container") %>
<% if current_team %>
<% provide(:sidebar_url, sidebar_repositories_path) %>
<% provide(:sidebar_title, t('sidebar.repositories.sidebar_title')) %>
<%= content_for :sidebar do %>
<%= render partial: "sidebar", locals: { repositories: @repositories, archived: params[:archived] } %>
<% end %>
<%= render "view_archived_btn" %>
<% end %>
<% if can_create_repositories?(current_team) %>
<%= t('libraries.index.no_libraries.create_new_button') %>
<% end %>
<%= render partial: 'shared/state_view_switch', locals: {
disabled: false,
switchable: true,
archived: params[:archived],
active_url: repositories_path,
archived_url: repositories_path(archived: true),
} %>
<%= t('libraries.index.table.name') %>
<%= t('libraries.index.table.number_of_items') %>
<%= t('libraries.index.table.shared') %>
<%= t('libraries.index.table.ownership') %>
<%= t('libraries.index.table.added_on') %>
<%= t('libraries.index.table.added_by') %>
<%= t('libraries.index.table.archived_on') %>
<%= t('libraries.index.table.archived_by') %>