Commit cd4fc106 authored by Sean McGivern's avatar Sean McGivern Committed by Alejandro Rodríguez

Merge branch 'fix/milestone-summary' into 'master'

Displays milestone remaining days only when it's present

See merge request !7998
parent 0d8f00a2
......@@ -25,8 +25,10 @@
%span.milestone-stat
%strong== #{milestone.percent_complete(current_user)}%
complete
- remaining_days = milestone_remaining_days(milestone)
- if remaining_days.present?
%span.milestone-stat
%span.remaining-days= milestone_remaining_days(milestone)
%span.remaining-days= remaining_days
.milestone-progress-buttons
%span.tab-issues-buttons
......
---
title: Displays milestone remaining days only when it's present
merge_request:
author:
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