Updated the design of milestone list status
This commit is contained in:
parent
1ed954e8a7
commit
42785686f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue