Mercurial > hg > soundsoftware-site
diff app/models/issue.rb @ 112:e0c08b2211ac live
* Fix incorrect locale tag at top of en-GB locale file
author | Chris Cannam |
---|---|
date | Mon, 20 Dec 2010 12:48:56 +0000 |
parents | 33d69fee1d99 |
children | e80647437550 |
line wrap: on
line diff
--- a/app/models/issue.rb Mon Dec 20 12:43:59 2010 +0000 +++ b/app/models/issue.rb Mon Dec 20 12:48:56 2010 +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