Switch to using milestone.to_reference when displaying milestone Fix #29214

This commit is contained in:
Raveesh 2017-03-14 12:50:32 -04:00
parent ffcddb2959
commit 8daa641e4d
3 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,7 @@
%div{ class: container_class }
%h3.page-title
Edit Milestone ##{@milestone.iid}
Edit Milestone #{@milestone.to_reference}
%hr

View file

@ -20,7 +20,7 @@
.header-text-content
%span.identifier
%strong
Milestone %#{@milestone.iid}
Milestone #{@milestone.to_reference}
- if @milestone.due_date || @milestone.start_date
= milestone_date_range(@milestone)
.milestone-buttons

View file

@ -0,0 +1,4 @@
---
title: Fix Milestone name on show page
merge_request:
author: Raveesh