Mercurial > hg > soundsoftware-site
comparison app/helpers/queries_helper.rb @ 14:1d32c0a0efbf
* Update to SVN trunk (revisions 3892-4040)
author | Chris Cannam |
---|---|
date | Wed, 25 Aug 2010 16:30:24 +0100 |
parents | 513646585e45 |
children | 94944d00e43c |
comparison
equal
deleted
inserted
replaced
4:9cc62779c13a | 14:1d32c0a0efbf |
---|---|
48 value.to_s | 48 value.to_s |
49 end | 49 end |
50 when 'User' | 50 when 'User' |
51 link_to_user value | 51 link_to_user value |
52 when 'Project' | 52 when 'Project' |
53 link_to(h(value), :controller => 'projects', :action => 'show', :id => value) | 53 link_to_project value |
54 when 'Version' | 54 when 'Version' |
55 link_to(h(value), :controller => 'versions', :action => 'show', :id => value) | 55 link_to(h(value), :controller => 'versions', :action => 'show', :id => value) |
56 when 'TrueClass' | 56 when 'TrueClass' |
57 l(:general_text_Yes) | 57 l(:general_text_Yes) |
58 when 'FalseClass' | 58 when 'FalseClass' |