Project

General

Profile

Patch #13309 » issue.rb.2.patch

Filou Centrinov, 2013-02-27 19:23

View differences:

app/models/issue.rb (working copy)
954 954

  
955 955
  # Returns a string of css classes that apply to the issue
956 956
  def css_classes
957
    s = "issue status-#{status_id} #{priority.try(:css_classes)}"
957
    s = "issue status-#{status_id} #{priority.try(:css_classes)} tracker-#{tracker_id}"
958 958
    s << ' closed' if closed?
959 959
    s << ' overdue' if overdue?
960 960
    s << ' child' if child?
(2-2/2)