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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0a08b105
Commit
0a08b105
authored
Jan 28, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to open/closed issues plus some minor updates.
parent
d151b387
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
17 deletions
+9
-17
app/views/projects/milestones/_merge_requests.html.haml
app/views/projects/milestones/_merge_requests.html.haml
+0
-1
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+9
-16
No files found.
app/views/projects/milestones/_merge_requests.html.haml
View file @
0a08b105
...
@@ -3,4 +3,3 @@
...
@@ -3,4 +3,3 @@
%ul
{
class:
"well-list merge_requests-sortable-list"
,
id:
"merge_requests-list-#{id}"
,
"data-state"
=>
id
}
%ul
{
class:
"well-list merge_requests-sortable-list"
,
id:
"merge_requests-list-#{id}"
,
"data-state"
=>
id
}
-
merge_requests
.
sort_by
(
&
:position
).
each
do
|
merge_request
|
-
merge_requests
.
sort_by
(
&
:position
).
each
do
|
merge_request
|
=
render
'merge_request'
,
merge_request:
merge_request
=
render
'merge_request'
,
merge_request:
merge_request
%li
.light.ui-sort-disabled
Drag and drop available
app/views/projects/milestones/show.html.haml
View file @
0a08b105
...
@@ -120,9 +120,6 @@
...
@@ -120,9 +120,6 @@
=
render
'merge_request'
,
merge_request:
merge_request
=
render
'merge_request'
,
merge_request:
merge_request
.tab-pane
#tab-participants
.tab-pane
#tab-participants
.content-block.oneline-block
All participants to this milestone
%ul
.bordered-list
%ul
.bordered-list
-
@users
.
each
do
|
user
|
-
@users
.
each
do
|
user
|
%li
%li
...
@@ -133,20 +130,16 @@
...
@@ -133,20 +130,16 @@
%small
.cgray
=
user
.
username
%small
.cgray
=
user
.
username
.tab-pane
#tab-labels
.tab-pane
#tab-labels
.gray-content-block.middle-block
.pull-right
-
if
can?
(
current_user
,
:create_issue
,
@project
)
=
link_to
new_namespace_project_issue_path
(
@project
.
namespace
,
@project
,
issue:
{
milestone_id:
@milestone
.
id
}),
class:
"btn btn-grouped"
,
title:
"New Issue"
do
%i
.fa.fa-plus
New Issue
-
if
can?
(
current_user
,
:read_issue
,
@project
)
=
link_to
'Browse Issues'
,
namespace_project_issues_path
(
@milestone
.
project
.
namespace
,
@milestone
.
project
,
milestone_title:
@milestone
.
title
),
class:
"btn btn-grouped"
.oneline
All labels in this milestone
%ul
.bordered-list.manage-labels-list
%ul
.bordered-list.manage-labels-list
-
@labels
.
each
do
|
label
|
-
@labels
.
each
do
|
label
|
%li
%li
=
render_colored_label
(
label
)
=
render_colored_label
(
label
)
%span
.issues-count
=
pluralize
label
.
open_issues_count
,
'open issue'
-
args
=
[
@milestone
.
project
.
namespace
,
@milestone
.
project
,
milestone_title:
@milestone
.
title
,
label_name:
label
.
title
]
%span
.issues-count
=
pluralize
label
.
closed_issues_count
,
'closed issue'
-
options
=
args
.
extract_options!
%span
.issues-count
=
link_to
namespace_project_issues_path
(
*
args
,
options
.
merge
(
state:
'opened'
))
do
=
pluralize
label
.
open_issues_count
,
'open issue'
%span
.issues-count
=
link_to
namespace_project_issues_path
(
*
args
,
options
.
merge
(
state:
'closed'
))
do
=
pluralize
label
.
closed_issues_count
,
'closed issue'
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