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
b66694d2
Commit
b66694d2
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "New X" link to dashboard/group milestone project-specific issue/MR panels
parent
09e712c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
app/views/shared/_issues.html.haml
app/views/shared/_issues.html.haml
+4
-3
app/views/shared/_merge_requests.html.haml
app/views/shared/_merge_requests.html.haml
+5
-2
No files found.
app/views/shared/_issues.html.haml
View file @
b66694d2
...
@@ -3,8 +3,10 @@
...
@@ -3,8 +3,10 @@
.panel.panel-default.panel-small
.panel.panel-default.panel-small
-
project
=
group
[
0
]
-
project
=
group
[
0
]
.panel-heading
.panel-heading
=
link_to_project
project
=
link_to
project
.
name_with_namespace
,
namespace_project_issues_path
(
project
.
namespace
,
project
)
=
link_to
'show all'
,
namespace_project_issues_path
(
project
.
namespace
,
project
),
class:
'pull-right'
-
if
can?
(
current_user
,
:create_issue
,
project
)
.pull-right
=
link_to
'New issue'
,
new_namespace_project_issue_path
(
project
.
namespace
,
project
)
%ul
.well-list.issues-list
%ul
.well-list.issues-list
-
group
[
1
].
each
do
|
issue
|
-
group
[
1
].
each
do
|
issue
|
...
@@ -12,4 +14,3 @@
...
@@ -12,4 +14,3 @@
=
paginate
@issues
,
theme:
"gitlab"
=
paginate
@issues
,
theme:
"gitlab"
-
else
-
else
.nothing-here-block
No issues to show
.nothing-here-block
No issues to show
app/views/shared/_merge_requests.html.haml
View file @
b66694d2
...
@@ -3,8 +3,11 @@
...
@@ -3,8 +3,11 @@
.panel.panel-default.panel-small
.panel.panel-default.panel-small
-
project
=
group
[
0
]
-
project
=
group
[
0
]
.panel-heading
.panel-heading
=
link_to_project
project
=
link_to
project
.
name_with_namespace
,
namespace_project_merge_requests_path
(
project
.
namespace
,
project
)
=
link_to
'show all'
,
namespace_project_merge_requests_path
(
project
.
namespace
,
project
),
class:
'pull-right'
-
if
can?
(
current_user
,
:create_merge_request
,
project
)
.pull-right
=
link_to
'New merge request'
,
new_namespace_project_merge_request_path
(
project
.
namespace
,
project
)
%ul
.well-list.mr-list
%ul
.well-list.mr-list
-
group
[
1
].
each
do
|
merge_request
|
-
group
[
1
].
each
do
|
merge_request
|
=
render
'projects/merge_requests/merge_request'
,
merge_request:
merge_request
=
render
'projects/merge_requests/merge_request'
,
merge_request:
merge_request
...
...
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