Changed issues css class from status-{position} to status-{id} (#11304).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10078 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-26 16:50:39 +00:00
parent 28cdc8adfc
commit 88efd302a7
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ class Issue < ActiveRecord::Base
# Returns a string of css classes that apply to the issue
def css_classes
s = "issue status-#{status.position} priority-#{priority.position}"
s = "issue status-#{status_id} priority-#{priority.position}"
s << ' closed' if closed?
s << ' overdue' if overdue?
s << ' child' if child?