<% if project.archived? %>
<%= link_to project_url(project, view_mode: :archived) do %>
<%= project.name %>
<% end %>
<% else %>
<%= link_to project_url(project) do %>
<%= project.name %>
<% end %>
<% end %>
<%= render partial: 'projects/index/project_actions_dropdown.html.erb', locals: { project: project, view: 'cards' } %>
<%= t('projects.index.card.start_date') %>
<%= l(project.created_at, format: :full_date) %>
<%= l(project.created_at, format: :full_with_comma) %>
<%= t('projects.index.card.visibility') %>
<% if project.hidden? %>
<%= t('projects.index.hidden') %>
<% else %>
<%= t('projects.index.visible') %>
<% end %>
<%= t('projects.index.card.users') %>
<% if can_manage_project?(project) %>
<%= link_to edit_project_users_path(project), class: 'project-users-link manage-project-users-link', remote: true do %>
<%= render partial: 'projects/index/users_list.html.erb', locals: { project: project } %>
<% end %>
<% else %>
<%= link_to project_users_path(project), class: 'project-users-link view-project-users-link', remote: true do %>
<%= render partial: 'projects/index/users_list.html.erb', locals: { project: project } %>
<% end %>
<% end %>
<% if project.archived? %>
<%= t('projects.index.card.archived_date') %>
<%= l(project.archived_on, format: :full_date) %>
<%= l(project.archived_on, format: :full_with_comma) %>
<% end %>