2022-09-08 17:51:47 +08:00
|
|
|
<div class="content-pane flexible <%= params[:archived] ? :archived : :active %> repositories-index"
|
2022-09-15 16:40:17 +08:00
|
|
|
data-readonly="<%= !can_manage_team?(current_team) %>">
|
2022-09-08 17:51:47 +08:00
|
|
|
<div class="content-header">
|
|
|
|
<div class="title-row">
|
|
|
|
<h1 data-view-mode="active"><%= t('libraries.index.head_title') %></h1>
|
|
|
|
<h1 data-view-mode="archived"><i class="fas fa-archive"></i> <%= t('libraries.index.head_title_archived') %></h1>
|
2023-04-20 19:40:38 +08:00
|
|
|
<%= render layout: "shared/view_switch", locals: { disabled: false, name: params[:archived] ? t('toolbar.archived_state') : t('toolbar.active_state') } do %>
|
|
|
|
<li class="view-switch-active">
|
|
|
|
<%= t('toolbar.active_state') %>
|
2022-09-08 17:51:47 +08:00
|
|
|
</li>
|
2023-04-20 19:40:38 +08:00
|
|
|
<li class="view-switch-archived">
|
|
|
|
<%= t('toolbar.archived_state') %>
|
2022-09-08 17:51:47 +08:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content-body">
|
|
|
|
</div>
|
2023-04-20 19:40:38 +08:00
|
|
|
</div>
|