akam_roadmap/app/views/projects/index.html.erb
2014-11-06 16:50:01 -05:00

111 lines
2.7 KiB
Plaintext

<h1>Roadmap</h1>
<h2>Tech Marketing</h2>
<%= link_to 'New Project', new_project_path %>
<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 %>