Commit 67b0ac73 authored by Luke Bennett's avatar Luke Bennett

Only render deprecation message for deprecated milestones

parent 3d6484ad
......@@ -30,7 +30,7 @@
- else
= link_to 'Reopen Milestone', group_milestone_route(milestone, {state_event: :activate }), method: :put, class: "btn btn-grouped btn-reopen"
= render 'shared/milestones/deprecation_message'
= render 'shared/milestones/deprecation_message' if @milestone.legacy_group_milestone? || @milestone.dashboard_milestone?
.detail-page-description.milestone-detail
%h2.title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment