git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11350
e93f8b46-1217-0410-a6f0-
8f06a7374b81
format_time(value)
when 'Date'
format_date(value)
- when 'Fixnum', 'Float'
+ when 'Fixnum'
if column.name == :done_ratio
progress_bar(value, :width => '80px')
- elsif column.name == :spent_hours
- sprintf "%.2f", value
- elsif column.name == :hours
- html_hours("%.2f" % value)
else
- h(value.to_s)
+ value.to_s
end
+ when 'Float'
+ sprintf "%.2f", value
when 'User'
link_to_user value
when 'Project'