Skip to content

Commit d8f825e

Browse files
committed
Merge pull request gitlabhq#2103 from tsigo/issue_project_link_rebase
Add a link to each project on the Issues dashboard
2 parents 3d242a3 + 4db362f commit d8f825e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/views/dashboard/issues.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- @issues.group_by(&:project).each do |group|
1414
%div.ui-box
1515
- @project = group[0]
16-
%h5= @project.name
16+
%h5= link_to(@project.name, project_path(@project))
1717
%ul.unstyled.issues_table
1818
- group[1].each do |issue|
1919
= render(partial: 'issues/show', locals: {issue: issue})

features/steps/dashboard/dashboard_issues.rb

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class DashboardIssues < Spinach::FeatureSteps
77
issues.each do |issue|
88
page.should have_content(issue.title[0..10])
99
page.should have_content(issue.project.name)
10+
page.should have_link(issue.project.name)
1011
end
1112
end
1213

0 commit comments

Comments
 (0)