% provide(:head_title, t("projects.archive.head_title")) %>
<% if @projects_by_teams.length > 0 %>
<% @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, data: { turbolinks: 'false' } %>
<% end %>