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
Boxiang Sun
gitlab-ce
Commits
51179101
Commit
51179101
authored
May 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix milestone "Browse Issues" button.
parent
45e4727f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG
CHANGELOG
+1
-0
app/views/projects/milestones/_milestone.html.haml
app/views/projects/milestones/_milestone.html.haml
+2
-2
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+1
-1
No files found.
CHANGELOG
View file @
51179101
...
@@ -6,6 +6,7 @@ v 7.12.0 (unreleased)
...
@@ -6,6 +6,7 @@ v 7.12.0 (unreleased)
- Fix Zen Mode not closing with ESC key (Stan Hu)
- Fix Zen Mode not closing with ESC key (Stan Hu)
- Allow HipChat API version to be blank and default to v2 (Stan Hu)
- Allow HipChat API version to be blank and default to v2 (Stan Hu)
- Add file attachment support in Milestone description (Stan Hu)
- Add file attachment support in Milestone description (Stan Hu)
- Fix milestone "Browse Issues" button.
- Set milestone on new issue when creating issue from index with milestone filter active.
- Set milestone on new issue when creating issue from index with milestone filter active.
- Add web hook support for note events (Stan Hu)
- Add web hook support for note events (Stan Hu)
- Disable "New Issue" and "New Merge Request" buttons when features are disabled in project settings (Stan Hu)
- Disable "New Issue" and "New Merge Request" buttons when features are disabled in project settings (Stan Hu)
...
...
app/views/projects/milestones/_milestone.html.haml
View file @
51179101
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
=
milestone
.
expires_at
=
milestone
.
expires_at
.row
.row
.col-sm-6
.col-sm-6
=
link_to
namespace_project_issues_path
(
milestone
.
project
.
namespace
,
milestone
.
project
,
milestone_
id:
milestone
.
id
)
do
=
link_to
namespace_project_issues_path
(
milestone
.
project
.
namespace
,
milestone
.
project
,
milestone_
title:
milestone
.
title
)
do
=
pluralize
milestone
.
issues
.
count
,
'Issue'
=
pluralize
milestone
.
issues
.
count
,
'Issue'
=
link_to
namespace_project_merge_requests_path
(
milestone
.
project
.
namespace
,
milestone
.
project
,
milestone_
id:
milestone
.
id
)
do
=
link_to
namespace_project_merge_requests_path
(
milestone
.
project
.
namespace
,
milestone
.
project
,
milestone_
title:
milestone
.
title
)
do
=
pluralize
milestone
.
merge_requests
.
count
,
'Merge Request'
=
pluralize
milestone
.
merge_requests
.
count
,
'Merge Request'
%span
.light
#{
milestone
.
percent_complete
}
% complete
%span
.light
#{
milestone
.
percent_complete
}
% complete
...
...
app/views/projects/milestones/show.html.haml
View file @
51179101
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
%i
.fa.fa-plus
%i
.fa.fa-plus
New Issue
New Issue
-
if
can?
(
current_user
,
:read_issue
,
@project
)
-
if
can?
(
current_user
,
:read_issue
,
@project
)
=
link_to
'Browse Issues'
,
namespace_project_issues_path
(
@milestone
.
project
.
namespace
,
@milestone
.
project
,
milestone_
id:
@milestone
.
id
),
class:
"btn edit-milestone-link btn-grouped"
=
link_to
'Browse Issues'
,
namespace_project_issues_path
(
@milestone
.
project
.
namespace
,
@milestone
.
project
,
milestone_
title:
@milestone
.
title
),
class:
"btn edit-milestone-link btn-grouped"
.tab-content
.tab-content
.tab-pane.active
#tab-issues
.tab-pane.active
#tab-issues
...
...
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