##// END OF EJS Templates
Changed issues css class from status-{position} to status-{id} (#11304)....
Jean-Philippe Lang -
r9895:88efd302a7ff
parent child
Show More
@@ -819,7 +819,7 class Issue < ActiveRecord::Base
819
819
820 # Returns a string of css classes that apply to the issue
820 # Returns a string of css classes that apply to the issue
821 def css_classes
821 def css_classes
822 s = "issue status-#{status.position} priority-#{priority.position}"
822 s = "issue status-#{status_id} priority-#{priority.position}"
823 s << ' closed' if closed?
823 s << ' closed' if closed?
824 s << ' overdue' if overdue?
824 s << ' overdue' if overdue?
825 s << ' child' if child?
825 s << ' child' if child?
General Comments 0
You need to be logged in to leave comments. Login now