Commit a87a5836 authored by Constance Okoghenun's avatar Constance Okoghenun

Fixed alignment of milestone status and projects in milestone list

parent 3219b202
- if milestone.due_date || milestone.start_date
.milestone-range.append-bottom-5
= milestone_date_range(milestone)
- if milestone.expired? and not milestone.closed? - if milestone.expired? and not milestone.closed?
.status-box.status-box-expired Expired .status-box.status-box-expired Expired
- if milestone.upcoming? - if milestone.upcoming?
......
...@@ -11,12 +11,16 @@ ...@@ -11,12 +11,16 @@
= " - #{milestone_type}" = " - #{milestone_type}"
- if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone? - if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone?
- if milestone.due_date || milestone.start_date
.milestone-range.append-bottom-5
= milestone_date_range(milestone)
%div
= render('shared/milestone_expired', milestone: milestone) = render('shared/milestone_expired', milestone: milestone)
- if milestone.legacy_group_milestone? - if milestone.legacy_group_milestone?
.projects .projects
- milestone.milestones.each do |milestone| - milestone.milestones.each do |milestone|
= link_to milestone_path(milestone) do = link_to milestone_path(milestone) do
%span.label-badge.label-badge-blue %span.label-badge.label-badge-blue.d-inline-block.append-bottom-5.append-right-5
= dashboard ? milestone.project.full_name : milestone.project.name = dashboard ? milestone.project.full_name : milestone.project.name
.col-sm-4.milestone-progress .col-sm-4.milestone-progress
......
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