RE: Is it possible to manage position of custom fields? ยป fix-custom-fields-layout.diff
| redmine-0.9.3/app/helpers/issues_helper.rb 2010-07-23 15:38:12.000000000 +0400 | ||
|---|---|---|
|
n = 0
|
||
|
ordered_values.compact.each do |value|
|
||
|
s << "</tr>\n<tr>\n" # if n > 0 && (n % 2) == 0
|
||
|
s << "\t<th>#{ h(value.custom_field.name) }:</th><td>#{ simple_format_without_paragraph(h(show_value(value))) }</td>\n"
|
||
|
s << "\t<th>#{ h(value.custom_field.name) }:</th><td colspan=\"2\">#{ simple_format_without_paragraph(h(show_value(value))) }</td>\n"
|
||
|
n += 1
|
||
|
end
|
||
|
s << "</tr>\n"
|
||