Project

General

Profile

RE: Is it possible to manage position of custom fields? ยป fix-custom-fields-layout.diff

Nicholas Kulikov, 2011-01-28 11:42

View differences:

redmine-0.9.3/app/helpers/issues_helper.rb 2010-07-23 15:38:12.000000000 +0400
43 43
    n = 0
44 44
    ordered_values.compact.each do |value|
45 45
      s << "</tr>\n<tr>\n" # if n > 0 && (n % 2) == 0
46
      s << "\t<th>#{ h(value.custom_field.name) }:</th><td>#{ simple_format_without_paragraph(h(show_value(value))) }</td>\n"
46
      s << "\t<th>#{ h(value.custom_field.name) }:</th><td colspan=\"2\">#{ simple_format_without_paragraph(h(show_value(value))) }</td>\n"
47 47
      n += 1
48 48
    end
49 49
    s << "</tr>\n"
    (1-1/1)