Project

General

Profile

Patch #1582 » add_time_spent_column_to_issues-svn.patch

SVN version of the patch - Eric Davis, 2008-07-04 18:40

View differences:

app/helpers/issues_helper.rb (working copy)
144 144
                  l(:field_due_date),
145 145
                  l(:field_done_ratio),
146 146
                  l(:field_estimated_hours),
147
                  l(:field_spent_hours),
147 148
                  l(:field_created_on),
148 149
                  l(:field_updated_on)
149 150
                  ]
......
170 171
                  format_date(issue.due_date),
171 172
                  issue.done_ratio,
172 173
                  issue.estimated_hours.to_s.gsub('.', decimal_separator),
174
                  issue.spent_hours,
173 175
                  format_time(issue.created_on),  
174 176
                  format_time(issue.updated_on)
175 177
                  ]
app/models/query.rb (working copy)
105 105
    QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"),
106 106
    QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"),
107 107
    QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),
108
    QueryColumn.new(:spent_hours),
108 109
    QueryColumn.new(:done_ratio, :sortable => "#{Issue.table_name}.done_ratio"),
109 110
    QueryColumn.new(:created_on, :sortable => "#{Issue.table_name}.created_on", :default_order => 'desc'),
110 111
  ]
lang/en.yml (working copy)
177 177
field_assignable: Issues can be assigned to this role
178 178
field_redirect_existing_links: Redirect existing links
179 179
field_estimated_hours: Estimated time
180
field_spent_hours: Time Spent
180 181
field_column_names: Columns
181 182
field_time_zone: Time zone
182 183
field_searchable: Searchable
(2-2/6)