Defect #11880 » css_classes_with_position.diff
app/models/issue.rb (working copy) | ||
---|---|---|
855 | 855 | |
856 | 856 |
# Returns a string of css classes that apply to the issue |
857 | 857 |
def css_classes |
858 |
s = "issue status-#{status_id} priority-#{priority_id}"
|
|
858 |
s = "issue status-#{self.status.position} priority-#{self.priority.position}"
|
|
859 | 859 |
s << ' closed' if closed? |
860 | 860 |
s << ' overdue' if overdue? |
861 | 861 |
s << ' child' if child? |
- « Previous
- 1
- 2
- 3
- Next »