% 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 %>
<%= t('libraries.index.buttons.edit') %>
<% if can_create_repositories?(current_team) %>
<%= t('libraries.index.buttons.duplicate') %>
<% end %>
<%= t('libraries.index.buttons.archive') %>
<%= t('libraries.index.buttons.restore') %>
<%= t('libraries.index.buttons.delete') %>
<%= javascript_include_tag "repositories/index" %>
<%= stylesheet_link_tag 'datatables' %>