% if @project.stages.empty? %>
No stages configured yet.
Stages represent one deployment scenario of a project. Typical stages are a 'Prod', 'Test' and 'Dev' stage.
<% else %>
Name | #Hosts | #Deployments | ||
---|---|---|---|---|
<%= link_to h(stage.name), project_stage_path(@project, stage) %> | <%=h stage.hosts.count %> | <%=h stage.deployments.count %> | <%= link_to 'Edit', edit_project_stage_path(@project, stage) %> | <%= link_to 'Delete', project_stage_path(@project, stage), :confirm => 'Are you sure?', :method => :delete %> |