summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-24 17:18:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-24 17:18:36 +0000
commit070c18746e91b28d4663a85021e8086cba706744 (patch)
treee27246214c536c6fc746ee66630c6ae34951a8c4 /app
parent5d77f92ae614f1e2231128accd46a995dde46d30 (diff)
downloadredmine-070c18746e91b28d4663a85021e8086cba706744.tar.gz
redmine-070c18746e91b28d4663a85021e8086cba706744.zip
Fixed: %0.2f is rendered as plain text in issues/destroy view (#3167).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2685 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/destroy.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/destroy.rhtml b/app/views/issues/destroy.rhtml
index 763688b5b..7f2f45562 100644
--- a/app/views/issues/destroy.rhtml
+++ b/app/views/issues/destroy.rhtml
@@ -3,7 +3,7 @@
<% form_tag do %>
<%= @issues.collect {|i| hidden_field_tag 'ids[]', i.id } %>
<div class="box">
-<p><strong><%= l(:text_destroy_time_entries_question, @hours) %></strong></p>
+<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
<p>
<label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
<label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />