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