]> source.dussan.org Git - redmine.git/commitdiff
Use field_activity rather than label_activity in the context of time tracking (#33186).
authorGo MAEDA <maeda@farend.jp>
Thu, 26 Mar 2020 05:58:47 +0000 (05:58 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 26 Mar 2020 05:58:47 +0000 (05:58 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19619 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/blocks/_timelog.html.erb
lib/redmine/helpers/time_report.rb

index 7354c757d3c237f1382118f7ea9a3baa2fe8e9cb..4736832e2adbdb2ec7e6ef7cc093160f32eaa6f6 100644 (file)
@@ -31,7 +31,7 @@
 <%= form_tag({}, :data => {:cm_url => time_entries_context_menu_path}) do %>
 <table class="list time-entries odd-even">
 <thead><tr>
-<th><%= l(:label_activity) %></th>
+<th><%= l(:field_activity) %></th>
 <th><%= l(:label_project) %></th>
 <th><%= l(:field_comments) %></th>
 <th><%= l(:field_hours) %></th>
index 75059d75588eeaa416afd89ceb4a71aa327a282b..c73d30507344122e181b9c65a5361d394c97bf9d 100644 (file)
@@ -124,7 +124,7 @@ module Redmine
                                               :label => :label_tracker},
                                  'activity' => {:sql => "#{TimeEntry.table_name}.activity_id",
                                                :klass => TimeEntryActivity,
-                                               :label => :label_activity},
+                                               :label => :field_activity},
                                  'issue' => {:sql => "#{TimeEntry.table_name}.issue_id",
                                              :klass => Issue,
                                              :label => :label_issue}