<%= link_to folder.archived_branch? ? project_folder_path(folder, view_mode: :archived) : project_folder_path(folder),
class: 'project-folder-link',
data: {
projects_cards_url: project_folder_cards_url(folder),
sidebar_url: sidebar_team_path(current_team, project_folder_id: folder.id)
} do %>
<%= folder.name %>
<% end %>
<%# match the number of columns in projects %>
<% additional_columns = folder.archived_branch? ? 6 : 5 %>
<% additional_columns.times do %>
<% end %>
<%= t('projects.index.folder.description', projects_count: folder.projects_count, folders_count: folder.folders_count) %>