% provide(:head_title, t("projects.archive.head_title")) %>
<%= render partial: "shared/sidebar", locals: { page: 'project' } %>
<%= render partial: "shared/secondary_navigation" %>
<% if @archived_projects_by_teams.length > 0 %>
<% @archived_projects_by_teams.each do |team, projects| %>
<%= render partial: 'projects/archive/team_projects',
locals: {team: team, projects: projects} %>
<% end %>
<% else %>
<%=t "projects.index.no_archived_projects" %>
<%= link_to t("projects.index.back_to_projects_index"), projects_path %>
<% end %>