OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c1888
)
Hours displayed using %.2f on time report.
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 14 Jul 2007 19:07:35 +0000
(19:07 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 14 Jul 2007 19:07:35 +0000
(19:07 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@588
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/views/timelog/_report_criteria.rhtml
patch
|
blob
|
history
diff --git
a/app/views/timelog/_report_criteria.rhtml
b/app/views/timelog/_report_criteria.rhtml
index
e4f5fa3
..
0b7e91c
100644
(file)
--- a/
app/views/timelog/_report_criteria.rhtml
+++ b/
app/views/timelog/_report_criteria.rhtml
@@
-6,7
+6,7
@@
<% hours_for_value = select_hours(hours, criterias[level], value.id) %>
<% @periods.each do |period| %>
<% sum = sum_hours(select_hours(hours_for_value, @columns, period.to_s)) %>
- <td align="center"><%= sum > 0 ? sum : "-" %></td>
+ <td align="center"><%= sum > 0 ?
"%.2f" %
sum : "-" %></td>
<% end %>
</tr>
<% if criterias.length > level+1 %>