fix issue status label
This commit is contained in:
parent
a3391cc376
commit
f8b2f70bc8
|
@ -111,7 +111,7 @@ class CommentPresenter < ApplicationPresenter
|
|||
|
||||
def issue_referenced_state
|
||||
if @referenced_issue.is_a? Issue
|
||||
statuses = {'open' => 'success', 'closed' => 'important'}
|
||||
statuses = {'open' => 'success', 'closed' => 'danger'}
|
||||
content_tag :span, t("layout.issues.status.#{@referenced_issue.status}"), class: "pull-right label label-#{statuses[@referenced_issue.status]}"
|
||||
else
|
||||
pull_status_label @referenced_issue.status, class: 'pull-right'
|
||||
|
|
Loading…
Reference in New Issue