Updated the design of milestone list status

This commit is contained in:
Constance Okoghenun 2018-06-15 15:39:50 +01:00
parent 1ed954e8a7
commit 42785686f9
1 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,9 @@
- if milestone.expired? and not milestone.closed?
%span.cred (Expired)
- if milestone.upcoming?
%span.clgray (Upcoming)
- if milestone.due_date || milestone.start_date
%span
%div
= milestone_date_range(milestone)
- if milestone.expired? and not milestone.closed?
.status-box.status-box-expired Expired
- if milestone.upcoming?
.status-box.status-box-mr-merged Upcoming
- if milestone.closed?
.status-box.status-box-closed Closed