Commit d4ffcc7c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show issue open state as label

parent 9aaf478f
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment