akam_roadmap/app/views/projects/index.html.erb

107 lines
2.7 KiB
Plaintext
Raw Normal View History

2014-11-06 21:50:01 +00:00
<br>
<% if @active_projects.count > 0 %>
<h3>Active (<%= @active_projects.count%>)</h3>
<table>
<thead>
<tr>
<th>Project</th>
<th>Requirements</th>
<th>Design</th>
<th>Dev & Ops</th>
<th>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>
<thead>
<tr>
<th>Project</th>
<th>Requirements</th>
<th>Design</th>
<th>Dev & Ops</th>
<th>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>
<thead>
<tr>
<th>Project</th>
<th>Requirements</th>
<th>Design</th>
<th>Dev & Ops</th>
<th>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>
<thead>
<tr>
<th>Project</th>
<th>Requirements</th>
<th>Design</th>
<th>Dev & Ops</th>
<th>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 %>