Added styling for milestone progress

This commit is contained in:
Constance Okoghenun 2018-06-19 12:09:33 +01:00
parent 44c82ebbd1
commit 8c0c4750db
3 changed files with 9 additions and 3 deletions

View file

@ -267,7 +267,6 @@ li.note {
}
.progress {
margin-bottom: 0;
margin-top: 4px;
box-shadow: none;
background-color: $border-gray-light;

View file

@ -23,6 +23,13 @@
.progress {
width: 100%;
height: 6px;
margin-bottom: $gl-padding-4;
}
.milestone-progress {
a {
color: $gl-link-color;
}
}
}
}

View file

@ -7,7 +7,7 @@
.col-sm-6
%strong= link_to truncate(milestone.title, length: 100), milestone_path
- unless dashboard
= milestone_type
= " - #{milestone_type}"
- if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone?
= render('shared/milestone_expired', milestone: milestone)
@ -18,7 +18,7 @@
%span.badge.badge-gray
= dashboard ? milestone.project.full_name : milestone.project.name
.col-sm-4
.col-sm-4.milestone-progress
= milestone_progress_bar(milestone)
= link_to pluralize(milestone.total_issues_count(current_user), 'Issue'), issues_path
·