Commit d4ffcc7cbff79cfee5a35f4bd1dae01fed4164a2
1 parent
9aaf478f
Exists in
master
and in
4 other branches
Show issue open state as label
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/projects/issues/show.html.haml
| @@ -33,6 +33,8 @@ | @@ -33,6 +33,8 @@ | ||
| 33 | %h4.box-title | 33 | %h4.box-title |
| 34 | - if @issue.closed? | 34 | - if @issue.closed? |
| 35 | .state-label.state-label-red Closed | 35 | .state-label.state-label-red Closed |
| 36 | + - else | ||
| 37 | + .state-label.state-label-green Open | ||
| 36 | = gfm escape_once(@issue.title) | 38 | = gfm escape_once(@issue.title) |
| 37 | 39 | ||
| 38 | .ui-box-body | 40 | .ui-box-body |
| @@ -71,4 +73,4 @@ | @@ -71,4 +73,4 @@ | ||
| 71 | - @issue.participants.each do |participant| | 73 | - @issue.participants.each do |participant| |
| 72 | = link_to_member(@project, participant, name: false, size: 24) | 74 | = link_to_member(@project, participant, name: false, size: 24) |
| 73 | 75 | ||
| 74 | -.voting_notes#notes= render "projects/notes/notes_with_form" | 76 | -.voting_notes#notes= render "projects/notes/notes_with_form" |
| 77 | +.voting_notes#notes= render "projects/notes/notes_with_form" | ||
| 75 | \ No newline at end of file | 78 | \ No newline at end of file |