Patch #1582 » add_time_spent_column_to_issues-svn.patch
| app/helpers/issues_helper.rb (working copy) | ||
|---|---|---|
|
l(:field_due_date),
|
||
|
l(:field_done_ratio),
|
||
|
l(:field_estimated_hours),
|
||
|
l(:field_spent_hours),
|
||
|
l(:field_created_on),
|
||
|
l(:field_updated_on)
|
||
|
]
|
||
| ... | ... | |
|
format_date(issue.due_date),
|
||
|
issue.done_ratio,
|
||
|
issue.estimated_hours.to_s.gsub('.', decimal_separator),
|
||
|
issue.spent_hours,
|
||
|
format_time(issue.created_on),
|
||
|
format_time(issue.updated_on)
|
||
|
]
|
||
| app/models/query.rb (working copy) | ||
|---|---|---|
|
QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"),
|
||
|
QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"),
|
||
|
QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),
|
||
|
QueryColumn.new(:spent_hours),
|
||
|
QueryColumn.new(:done_ratio, :sortable => "#{Issue.table_name}.done_ratio"),
|
||
|
QueryColumn.new(:created_on, :sortable => "#{Issue.table_name}.created_on", :default_order => 'desc'),
|
||
|
]
|
||
| lang/en.yml (working copy) | ||
|---|---|---|
|
field_assignable: Issues can be assigned to this role
|
||
|
field_redirect_existing_links: Redirect existing links
|
||
|
field_estimated_hours: Estimated time
|
||
|
field_spent_hours: Time Spent
|
||
|
field_column_names: Columns
|
||
|
field_time_zone: Time zone
|
||
|
field_searchable: Searchable
|
||