summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-27 10:22:19 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-27 10:22:19 +0000
commitd4ffcc7cbff79cfee5a35f4bd1dae01fed4164a2 (patch)
tree086de0647bdb251cc3962d45c9a641e84744bd44
parent9aaf478f10993ac134bf86546c95dbb4284f9f5f (diff)
downloadgitlab-ce-d4ffcc7cbff79cfee5a35f4bd1dae01fed4164a2.tar.gz
Show issue open state as label
-rw-r--r--app/views/projects/issues/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index d08a8af2bb9..36ea57805a8 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -33,6 +33,8 @@
%h4.box-title
- if @issue.closed?
.state-label.state-label-red Closed
+ - else
+ .state-label.state-label-green Open
= gfm escape_once(@issue.title)
.ui-box-body
@@ -71,4 +73,4 @@
- @issue.participants.each do |participant|
= link_to_member(@project, participant, name: false, size: 24)
-.voting_notes#notes= render "projects/notes/notes_with_form"
+.voting_notes#notes= render "projects/notes/notes_with_form" \ No newline at end of file