Commit e17758c2 authored by Sean McGivern's avatar Sean McGivern

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

Displays milestone remaining days only when it's present

See merge request !7998
parents cd83db4c ef848c5c
......@@ -25,8 +25,10 @@
%span.milestone-stat
%strong== #{milestone.percent_complete(current_user)}%
complete
%span.milestone-stat
%span.remaining-days= milestone_remaining_days(milestone)
- remaining_days = milestone_remaining_days(milestone)
- if remaining_days.present?
%span.milestone-stat
%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