<% provide(:head_title, t("projects.experiment_archive.head_title", project: h(@project.name)).html_safe) %> <% provide(:sidebar_title, t("sidebar.experiments.sidebar_title_archived")) %> <% provide(:sidebar_url, project_sidebar_path(@project)) %> <% provide(:container_class, 'no-second-nav-container') %> <%= content_for :sidebar do %> <%= render partial: 'shared/sidebar/experiments.html.erb', locals: { project: @project, archived: true } %> <% end %> <% content_for :breadcrumbs do %> <%= render partial: 'projects/index/breadcrumbs', locals: { target_folder: @project.project_folder } %> <% end %>
<%= render partial: 'projects/show/header' %> <% if @project.archived_experiments.count > 0 %>
<% @project.sorted_experiments(@current_sort, true).each_with_index do |experiment, i| %> <%= render partial: "projects/show/experiment.html.erb", locals: { experiment: experiment} %> <% end %>
<% else %>
<%=t "projects.experiment_archive.no_archived_experiments" %>
<% end %>