Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
4db362f5
Commit
4db362f5
authored
Nov 19, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a link to each project on the Issues dashboard
parent
3d242a31
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+1
-1
features/steps/dashboard/dashboard_issues.rb
features/steps/dashboard/dashboard_issues.rb
+1
-0
No files found.
app/views/dashboard/issues.html.haml
View file @
4db362f5
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
%div
.ui-box
%div
.ui-box
-
@project
=
group
[
0
]
-
@project
=
group
[
0
]
%h5
=
@project
.
name
%h5
=
link_to
(
@project
.
name
,
project_path
(
@project
))
%ul
.unstyled.issues_table
%ul
.unstyled.issues_table
-
group
[
1
].
each
do
|
issue
|
-
group
[
1
].
each
do
|
issue
|
=
render
(
partial:
'issues/show'
,
locals:
{
issue:
issue
})
=
render
(
partial:
'issues/show'
,
locals:
{
issue:
issue
})
...
...
features/steps/dashboard/dashboard_issues.rb
View file @
4db362f5
...
@@ -7,6 +7,7 @@ class DashboardIssues < Spinach::FeatureSteps
...
@@ -7,6 +7,7 @@ class DashboardIssues < Spinach::FeatureSteps
issues
.
each
do
|
issue
|
issues
.
each
do
|
issue
|
page
.
should
have_content
(
issue
.
title
[
0
..
10
])
page
.
should
have_content
(
issue
.
title
[
0
..
10
])
page
.
should
have_content
(
issue
.
project
.
name
)
page
.
should
have_content
(
issue
.
project
.
name
)
page
.
should
have_link
(
issue
.
project
.
name
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment