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
d79bdfcf
Commit
d79bdfcf
authored
Mar 27, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable links to browse milsetone issuables in dashboard and group view
parent
5af7dbe3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
app/views/shared/milestones/_sidebar.html.haml
app/views/shared/milestones/_sidebar.html.haml
+5
-13
No files found.
app/views/shared/milestones/_sidebar.html.haml
View file @
d79bdfcf
...
@@ -51,7 +51,6 @@
...
@@ -51,7 +51,6 @@
=
link_to
new_namespace_project_issue_path
(
project
.
namespace
,
project
,
issue:
{
milestone_id:
milestone
.
id
}),
class:
"pull-right"
,
title:
"New Issue"
do
=
link_to
new_namespace_project_issue_path
(
project
.
namespace
,
project
,
issue:
{
milestone_id:
milestone
.
id
}),
class:
"pull-right"
,
title:
"New Issue"
do
New issue
New issue
.value.hide-collapsed
.value.hide-collapsed
-
if
project
&&
can?
(
current_user
,
:read_issue
,
project
)
%span
.milestone-stat
%span
.milestone-stat
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :issues
)
do
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :issues
)
do
Open:
Open:
...
@@ -60,13 +59,6 @@
...
@@ -60,13 +59,6 @@
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :issues
,
state:
'closed'
)
do
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :issues
,
state:
'closed'
)
do
Closed:
Closed:
=
milestone
.
issues_visible_to_user
(
current_user
).
closed
.
size
=
milestone
.
issues_visible_to_user
(
current_user
).
closed
.
size
-
else
%span
.milestone-stat
Open:
=
milestone
.
issues_visible_to_user
(
current_user
).
opened
.
size
%span
.milestone-stat
Closed:
=
milestone
.
issues_visible_to_user
(
current_user
).
closed
.
size
.block
.block
.sidebar-collapsed-icon
.sidebar-collapsed-icon
...
@@ -77,7 +69,7 @@
...
@@ -77,7 +69,7 @@
Merge requests
Merge requests
%span
.badge
=
milestone
.
merge_requests
.
size
%span
.badge
=
milestone
.
merge_requests
.
size
.value.hide-collapsed
.value.hide-collapsed
-
if
project
&&
can?
(
current_user
,
:read_merge_request
,
project
)
-
if
!
project
||
can?
(
current_user
,
:read_merge_request
,
project
)
%span
.milestone-stat
%span
.milestone-stat
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :merge_requests
)
do
=
link_to
milestones_browse_issuables_path
(
milestone
,
type: :merge_requests
)
do
Open:
Open:
...
...
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