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

111 lines
2.7 KiB
Plaintext
Raw Normal View History

2014-11-06 21:50:01 +00:00
<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 %>