diff options
author | Go MAEDA <maeda@farend.jp> | 2024-06-30 14:37:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-06-30 14:37:12 +0000 |
commit | 2b786a6f48e519b4f09e7804fc06fb531d01b9db (patch) | |
tree | 8cdf6150e10ac1d0f95cb56310c9a55805ff29c6 /app/views | |
parent | 578c53a932b52ea4b3c6658d631730e8fa169400 (diff) | |
download | redmine-2b786a6f48e519b4f09e7804fc06fb531d01b9db.tar.gz redmine-2b786a6f48e519b4f09e7804fc06fb531d01b9db.zip |
Spent hours ignoring "Time Span Format" Setting on several pages (#40924).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/destroy.html.erb | 2 | ||||
-rw-r--r-- | app/views/timelog/bulk_edit.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb index 61b841a62..e4f0e66fb 100644 --- a/app/views/issues/destroy.html.erb +++ b/app/views/issues/destroy.html.erb @@ -3,7 +3,7 @@ <%= form_tag({}, :method => :delete) do %> <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id, :id => nil)}.join("\n").html_safe %> <div class="box"> -<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p> +<p><strong><%= l(:text_destroy_time_entries_question, :hours => format_hours(@hours)) %></strong></p> <p> <label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br /> <% unless Setting.timelog_required_fields.include?('issue_id') %> diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb index 3571b4016..a4cb0c8af 100644 --- a/app/views/timelog/bulk_edit.html.erb +++ b/app/views/timelog/bulk_edit.html.erb @@ -21,7 +21,7 @@ <%= content_tag 'li', link_to( - "#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)} (#{entry.user})", + "#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => format_hours(entry.hours))} (#{entry.user})", edit_time_entry_path(entry) ) %> |