summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-26 16:55:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-26 16:55:40 +0000
commitf03e21fb45e534e4747b5b9e21593ffb1b35ae70 (patch)
tree250169afbba13f5a9b8b9e7b15cd4daf11f408ed /app/models/issue.rb
parent88efd302a7ff0e1ca3c0ac5a3c3a5910cc7ca2c8 (diff)
downloadredmine-f03e21fb45e534e4747b5b9e21593ffb1b35ae70.tar.gz
redmine-f03e21fb45e534e4747b5b9e21593ffb1b35ae70.zip
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
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index f5ff3fc08..a06378a5b 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -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?