Makes time entry custom fields available for display on the time entries list (#1766).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10972 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-12-09 21:03:30 +00:00
parent 60088ed5a3
commit 0ce6eb9285
5 changed files with 56 additions and 50 deletions
+3 -1
View File
@@ -92,6 +92,8 @@ module QueriesHelper
progress_bar(value, :width => '80px')
elsif column.name == :spent_hours
sprintf "%.2f", value
elsif column.name == :hours
html_hours("%.2f" % value)
else
h(value.to_s)
end
@@ -106,7 +108,7 @@ module QueriesHelper
when 'FalseClass'
l(:general_text_No)
when 'Issue'
link_to_issue(value, :subject => false)
value.visible? ? link_to_issue(value) : "##{value.id}"
when 'IssueRelation'
other = value.other_issue(issue)
content_tag('span',