Skip to content
Snippets Groups Projects
Commit 2e8f4bf3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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
parents 761fbbfe 85c5a203
No related branches found
No related tags found
1 merge request!6949gitlab.com issue #229 - no_avatar.png path in coffee
= render "projects/issues/head"
%h3.page-title
Milestone ##{@milestone.iid}
%small
= @milestone.expires_at
.pull-right
- if can?(current_user, :admin_milestone, @project)
= link_to edit_project_milestone_path(@project, @milestone), class: "btn btn-grouped" do
Loading
Loading
@@ -23,14 +21,16 @@
 
 
.issue-box{ class: issue_box_class(@milestone) }
.state
%span.state-label
.state.clearfix
.state-label.col-sm-2.col-xs-12
- if @milestone.closed?
Closed
- elsif @milestone.expired?
Expired
- else
Open
%span.creator.col-sm-9.col-xs-12
= @milestone.expires_at
 
%h4.title
= gfm escape_once(@milestone.title)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment