Commit 85c5a20352c7e739859eae8ad972f08fc61592b0
1 parent
a85aa4e0
Exists in
spb-stable
and in
2 other branches
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 | = render "projects/issues/head" | 1 | = render "projects/issues/head" |
2 | %h3.page-title | 2 | %h3.page-title |
3 | Milestone ##{@milestone.iid} | 3 | Milestone ##{@milestone.iid} |
4 | - %small | ||
5 | - = @milestone.expires_at | ||
6 | .pull-right | 4 | .pull-right |
7 | - if can?(current_user, :admin_milestone, @project) | 5 | - if can?(current_user, :admin_milestone, @project) |
8 | = link_to edit_project_milestone_path(@project, @milestone), class: "btn btn-grouped" do | 6 | = link_to edit_project_milestone_path(@project, @milestone), class: "btn btn-grouped" do |
@@ -23,14 +21,16 @@ | @@ -23,14 +21,16 @@ | ||
23 | 21 | ||
24 | 22 | ||
25 | .issue-box{ class: issue_box_class(@milestone) } | 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 | - if @milestone.closed? | 26 | - if @milestone.closed? |
29 | Closed | 27 | Closed |
30 | - elsif @milestone.expired? | 28 | - elsif @milestone.expired? |
31 | Expired | 29 | Expired |
32 | - else | 30 | - else |
33 | Open | 31 | Open |
32 | + %span.creator.col-sm-9.col-xs-12 | ||
33 | + = @milestone.expires_at | ||
34 | 34 | ||
35 | %h4.title | 35 | %h4.title |
36 | = gfm escape_once(@milestone.title) | 36 | = gfm escape_once(@milestone.title) |