akam_roadmap/app/views/projects/index.html.erb
2014-11-07 15:56:49 -05:00

114 lines
3.1 KiB
Plaintext

<div class="row">
<h2>Projects (<%= @projects.count %>)</h2>
</div>
<div class="row">
<% if @active_projects.count > 0 %>
<h3>Active (<%= @active_projects.count%>)</h3>
<table class="table">
<thead>
<tr>
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
</tr>
</thead>
<tbody>
<% @active_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @upcoming_projects.count > 0 %>
<h3>Upcoming (<%= @upcoming_projects.count%>)</h3>
<table class="table">
<thead>
<tr>
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
</tr>
</thead>
<tbody>
<% @upcoming_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @backlog_projects.count > 0 %>
<h3>Backlog (<%= @backlog_projects.count%>)</h3>
<table class="table">
<thead>
<tr>
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
</tr>
</thead>
<tbody>
<% @backlog_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
<% if @completed_projects.count > 0 %>
<h3>Completed (<%= @completed_projects.count%>)</h3>
<table class="table">
<thead>
<tr>
<th width="30%">Project</th>
<th width="17.5%">Requirements</th>
<th width="17.5%">Design</th>
<th width="17.5%">Dev & Ops</th>
<th width="17.5%">QA & Launch</th>
</tr>
</thead>
<tbody>
<% @completed_projects.each do |project| %>
<tr>
<td><%= link_to project.title, project %></td>
<td><%= project.requirements %></td>
<td><%= project.design %></td>
<td><%= project.devops %></td>
<td><%= project.qalaunch %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>
</div>