<%= t('repositories.toolbar_edit_overlay_html') %>
<% unless @repository.is_a?(BmtRepository) %>
<%= render layout: "shared/view_switch", locals: {disabled: @repository.archived?, name: params[:archived] ? t('toolbar.archived_state') : t('toolbar.active_state') } do %>
<%= t('toolbar.active_state') %>
<%= t('toolbar.archived_state') %>
<% end %>
<% end %>