issue.rb.patch

Add tracker class - Filou Centrinov, 2013-02-27 19:06

Download (504 Bytes)

View differences:

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?