<%= t('repositories.toolbar_edit_overlay_html') %>
<% unless @repository.is_a?(BmtRepository) %>
<%= render partial: 'shared/state_view_switch', locals: {
disabled: @repository.archived?,
switchable: true,
archived: params[:archived],
active_url: repository_path(@repository),
archived_url: repository_path(@repository, archived: true),
} %>
<% end %>