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
8daa641e
Commit
8daa641e
authored
Mar 14, 2017
by
Raveesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to using milestone.to_reference when displaying milestone Fix #29214
parent
ffcddb29
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
app/views/projects/milestones/edit.html.haml
app/views/projects/milestones/edit.html.haml
+1
-1
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+1
-1
changelogs/unreleased/fix-milestone-name-on-show.yml
changelogs/unreleased/fix-milestone-name-on-show.yml
+4
-0
No files found.
app/views/projects/milestones/edit.html.haml
View file @
8daa641e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
%div
{
class:
container_class
}
%div
{
class:
container_class
}
%h3
.page-title
%h3
.page-title
Edit Milestone #
#{@milestone.iid
}
Edit Milestone
#
{
@milestone
.
to_reference
}
%hr
%hr
...
...
app/views/projects/milestones/show.html.haml
View file @
8daa641e
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
.header-text-content
.header-text-content
%span
.identifier
%span
.identifier
%strong
%strong
Milestone
%
#{
@milestone
.
iid
}
Milestone
#{
@milestone
.
to_reference
}
-
if
@milestone
.
due_date
||
@milestone
.
start_date
-
if
@milestone
.
due_date
||
@milestone
.
start_date
=
milestone_date_range
(
@milestone
)
=
milestone_date_range
(
@milestone
)
.milestone-buttons
.milestone-buttons
...
...
changelogs/unreleased/fix-milestone-name-on-show.yml
0 → 100644
View file @
8daa641e
---
title
:
Fix Milestone name on show page
merge_request
:
author
:
Raveesh
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