diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index b9e11c9fa..b2b85ee4c 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -36,6 +36,7 @@ module IssuesHelper # Returns a string of css classes that apply to the given issue def css_issue_classes(issue) s = "issue status-#{issue.status.position} priority-#{issue.priority.position}" + s << ' closed' if issue.closed? s << ' overdue' if issue.overdue? s end