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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10079 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-07-26 16:55:40 +00:00
parent 88efd302a7
commit f03e21fb45
3 changed files with 7 additions and 7 deletions
+1 -1
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_id} priority-#{priority.position}"
s = "issue status-#{status_id} priority-#{priority_id}"
s << ' closed' if closed?
s << ' overdue' if overdue?
s << ' child' if child?