summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-16 20:42:42 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-16 20:42:42 +0300
commit9afc930b999048594e3f5a6a22097adcf2da50fe (patch)
tree8ae0e397334e3755ac511470770f64821f0fe2ab /app/views
parent6404d6978075e272f1c83078eeda39d4a68d09c1 (diff)
downloadgitlab-ce-9afc930b999048594e3f5a6a22097adcf2da50fe.tar.gz
Make ui-box-show more visible. Refactor some css classes
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/issues/show.html.haml2
-rw-r--r--app/views/projects/merge_requests/show/_mr_box.html.haml7
-rw-r--r--app/views/projects/milestones/show.html.haml4
3 files changed, 7 insertions, 6 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 6d1a088721c..d08a8af2bb9 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -32,7 +32,7 @@
.ui-box-head
%h4.box-title
- if @issue.closed?
- .error.status_info Closed
+ .state-label.state-label-red Closed
= gfm escape_once(@issue.title)
.ui-box-body
diff --git a/app/views/projects/merge_requests/show/_mr_box.html.haml b/app/views/projects/merge_requests/show/_mr_box.html.haml
index 1f750e22c65..93ae602a696 100644
--- a/app/views/projects/merge_requests/show/_mr_box.html.haml
+++ b/app/views/projects/merge_requests/show/_mr_box.html.haml
@@ -3,11 +3,12 @@
%h4.box-title
= gfm escape_once(@merge_request.title)
- if @merge_request.merged?
- .success.status_info
+ .state-label.state-label-green
%i.icon-ok
Merged
- elsif @merge_request.closed?
- .error.status_info Closed
+ .state-label.state-label-red
+ Closed
.ui-box-body
%div
@@ -32,7 +33,7 @@
%span
%i.icon-remove
Closed by #{link_to_member(@project, @merge_request.closed_event.author)}
- %small #{time_ago_in_words(@merge_request.closed_event.created_at)} ago.
+ %span #{time_ago_in_words(@merge_request.closed_event.created_at)} ago.
- if @merge_request.merged?
.ui-box-bottom.alert-success
%span
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index dc7fd40d5e3..2e115026ed3 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -26,9 +26,9 @@
.ui-box-head
%h4.box-title
- if @milestone.closed?
- .error.status_info Closed
+ .state-label.state-label-red Closed
- elsif @milestone.expired?
- .error.status_info Expired
+ .state-label.state-label-red Expired
= gfm escape_once(@milestone.title)