Mercurial > hg > soundsoftware-site
diff app/models/issue.rb @ 139:ddcedb549d4e cannam-pre-20110113-merge
Merge from live branch
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 20 Jan 2011 10:00:51 +0000 |
parents | e0c08b2211ac |
children | e80647437550 |
line wrap: on
line diff
--- a/app/models/issue.rb Wed Jan 19 13:27:01 2011 +0000 +++ b/app/models/issue.rb Thu Jan 20 10:00:51 2011 +0000 @@ -527,7 +527,8 @@ # Returns a string of css classes that apply to the issue def css_classes - s = "issue status-#{status.position} priority-#{priority.position}" + s = "issue status-#{status.position} " + s << "priority-#{priority.position}" s << ' closed' if closed? s << ' overdue' if overdue? s << ' created-by-me' if User.current.logged? && author_id == User.current.id