@@ -18,6 +18,7 | |||||
18 | require 'csv' |
|
18 | require 'csv' | |
19 |
|
19 | |||
20 | module IssuesHelper |
|
20 | module IssuesHelper | |
|
21 | include ApplicationHelper | |||
21 |
|
22 | |||
22 | def render_issue_tooltip(issue) |
|
23 | def render_issue_tooltip(issue) | |
23 | @cached_label_start_date ||= l(:field_start_date) |
|
24 | @cached_label_start_date ||= l(:field_start_date) | |
@@ -142,11 +143,11 module IssuesHelper | |||||
142 | issue.category, |
|
143 | issue.category, | |
143 | issue.fixed_version, |
|
144 | issue.fixed_version, | |
144 | issue.author.name, |
|
145 | issue.author.name, | |
145 |
|
|
146 | format_date(issue.start_date), | |
146 |
|
|
147 | format_date(issue.due_date), | |
147 | issue.done_ratio, |
|
148 | issue.done_ratio, | |
148 |
|
|
149 | format_time(issue.created_on), | |
149 |
|
|
150 | format_time(issue.updated_on) | |
150 | ] |
|
151 | ] | |
151 | custom_fields.each {|f| fields << show_value(issue.custom_value_for(f)) } |
|
152 | custom_fields.each {|f| fields << show_value(issue.custom_value_for(f)) } | |
152 | csv << fields.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end } |
|
153 | csv << fields.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end } |
General Comments 0
You need to be logged in to leave comments.
Login now