Commit 2e8f4bf39203f4c24ab6fb053b1bd5f3c7a20b86

Authored by Dmitriy Zaporozhets
2 parents 761fbbfe 85c5a203

Merge branch 'milestome-ui' into 'master'

Improve Milestome UI

Milestone UI header was different from Issue/MR pages but use same UI elements.
This MR fixes it so UI looks same for issue/mr/milestone
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/views/projects/milestones/show.html.haml
1 1 = render "projects/issues/head"
2 2 %h3.page-title
3 3 Milestone ##{@milestone.iid}
4   - %small
5   - = @milestone.expires_at
6 4 .pull-right
7 5 - if can?(current_user, :admin_milestone, @project)
8 6 = link_to edit_project_milestone_path(@project, @milestone), class: "btn btn-grouped" do
... ... @@ -23,14 +21,16 @@
23 21  
24 22  
25 23 .issue-box{ class: issue_box_class(@milestone) }
26   - .state
27   - %span.state-label
  24 + .state.clearfix
  25 + .state-label.col-sm-2.col-xs-12
28 26 - if @milestone.closed?
29 27 Closed
30 28 - elsif @milestone.expired?
31 29 Expired
32 30 - else
33 31 Open
  32 + %span.creator.col-sm-9.col-xs-12
  33 + = @milestone.expires_at
34 34  
35 35 %h4.title
36 36 = gfm escape_once(@milestone.title)
... ...