Commit 85c5a20352c7e739859eae8ad972f08fc61592b0

Authored by Dmitriy Zaporozhets
1 parent a85aa4e0

Small UI change to milestone page so it looks similar to issue/mr

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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)
... ...