Changed the Epics column for the project index page to be a link to the
project epics page. The column also properly shows the number of epics
for that project.
Signed-off-by: Darryl L. Pierce <mcpierce(a)gmail.com>
---
app/views/projects/index.html.erb | 2 +-
doc/ChangeLog | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb
index 74781d2..18147d2 100644
--- a/app/views/projects/index.html.erb
+++ b/app/views/projects/index.html.erb
@@ -26,7 +26,7 @@
<% end %>
<% if project.url %><%= link_to "Homepage", project.url
%><% end %>
</td>
- <td>0</td>
+ <td><%= link_to "#{project.epics.size}",
project_epics_path(project) %></td>
<td><%= project.products.count %></td>
<td><%= link_to project.owner.display_name, user_path(project.owner)
%></td>
<td><%= show_date project.created_at %></td>
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 616233f..77ac712 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -28,6 +28,7 @@ Change Log (0.2.0):
* #148 - Project owners can edit epics stories.
* #149 - Project owners can delete epics with no user stories.
* #150 - Epics can be closed and reopened.
+ * #151 - Epics can be viewed from the projects list page.
* #152 - Users can view all epic stories for a project.
* #155 - Epic details can be viewed.
--
1.6.0.6