Project: <%%=h @project.name %>

<%% if @project.stages.count > 0 %>

Choose a stage:

<%% for stage in @project.stages %>

<%%= link_to h(stage.name), project_stage_path(@project, stage), :class => 'arrow_link' %>

<%% end %> <%% else %>

No stage configured yet

<%%= link_to 'New stage', new_project_stage_path(@project), :class => 'arrow_link' %> <%% end %>

Description: <%%=h @project.description %>

Project Type: <%%=h @project.template %>

#Deployments: <%%=h @project.deployments.count %>


<%%= link_to 'Edit Project', edit_project_path(@project), :class => 'arrow_link' %> | <%%= link_to 'Delete', project_path(@project), :confirm => 'Are you sure?', :method => :delete, :class => 'arrow_link' %>

Project configuration <%%= render(:partial => 'configs')%>
<%%= link_to 'New configuration', new_project_project_configuration_path(@project), :class => 'arrow_link' %>


Stages <%%= render(:partial => 'stages')%>
<%%= link_to 'New stage', new_project_stage_path(@project), :class => 'arrow_link' %>


Privileged users <%%= render(:partial => 'users')%>