Merge pull request #2103 from tsigo/issue_project_link_rebase

Add a link to each project on the Issues dashboard
This commit is contained in:
Dmitriy Zaporozhets 2012-11-28 08:39:44 -08:00
commit d8f825ef00
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@
- @issues.group_by(&:project).each do |group|
%div.ui-box
- @project = group[0]
%h5= @project.name
%h5= link_to(@project.name, project_path(@project))
%ul.unstyled.issues_table
- group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue})

View file

@ -7,6 +7,7 @@ class DashboardIssues < Spinach::FeatureSteps
issues.each do |issue|
page.should have_content(issue.title[0..10])
page.should have_content(issue.project.name)
page.should have_link(issue.project.name)
end
end