Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-19 14:34:26 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-19 14:34:26 +0400
commit85c5a20352c7e739859eae8ad972f08fc61592b0 (patch)
tree5e362b1d1f2c7a6a9b64a1cbf56bdef70a291304 /app/views/projects/milestones/show.html.haml
parenta85aa4e09ea7a4aef3c7191f5d042e225953526a (diff)
Small UI change to milestone page so it looks similar to issue/mr
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/milestones/show.html.haml')
-rw-r--r--app/views/projects/milestones/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index 5c5df46d33d..0fe5ac25b5e 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -1,8 +1,6 @@
= 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
@@ -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)