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