diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-20 15:14:46 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-20 15:14:46 +0000 |
commit | db1e9968080b4bf57a57fa6769ddc10f2c8a5f1d (patch) | |
tree | fa6e39e9bd2d2fc31ee793494cd94b865448dd02 | |
parent | 1c4738b19bb7d8d5bf1f127a5298fb07ffaca546 (diff) | |
parent | b1662486d23c952794b61fd2bb7a9620f1bc7abd (diff) | |
download | gitlab-ce-db1e9968080b4bf57a57fa6769ddc10f2c8a5f1d.tar.gz |
Merge branch 'milestone-not-showing-correctly-title' into 'master'
Changed milestone.to_reference calls into milestone.title for the show, edit and top views
See merge request !10637
-rw-r--r-- | app/views/projects/milestones/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/milestone-not-showing-correctly-title.yml | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/app/views/projects/milestones/edit.html.haml b/app/views/projects/milestones/edit.html.haml index e57a76dbfd2..1e66c6079e3 100644 --- a/app/views/projects/milestones/edit.html.haml +++ b/app/views/projects/milestones/edit.html.haml @@ -5,7 +5,7 @@ %div{ class: container_class } %h3.page-title - Edit Milestone #{@milestone.to_reference} + Edit Milestone %hr diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml index a173117984d..e8c9d7f8429 100644 --- a/app/views/projects/milestones/show.html.haml +++ b/app/views/projects/milestones/show.html.haml @@ -17,7 +17,7 @@ .header-text-content %span.identifier %strong - Milestone #{@milestone.to_reference} + Milestone - if @milestone.due_date || @milestone.start_date = milestone_date_range(@milestone) .milestone-buttons diff --git a/changelogs/unreleased/milestone-not-showing-correctly-title.yml b/changelogs/unreleased/milestone-not-showing-correctly-title.yml new file mode 100644 index 00000000000..7c21094d737 --- /dev/null +++ b/changelogs/unreleased/milestone-not-showing-correctly-title.yml @@ -0,0 +1,4 @@ +--- +title: Removed the milestone references from the milestone views +merge_request: +author: |