textarea Custom Fields colspan setting breaks the ticket layout
|Reported by:||Owned by:|
|Severity:||normal||Keywords:||layout ticket custom fields|
If you have any textarea custom fields they get set up with a colspan of three which breaks the layout in the ticket view. See the attached screenshot.
I think this may be related to #3109 since the same trac.ini custom-fields section causes a layout problem, though the problem is slightly different.
I've got a small one line hack that seems to fix it (see attached patch).
The custom-tickets section I've tested it with is:
[ticket-custom] billable = checkbox billable.label = Billable? billable.order = 3 billable.value = 1 blockedby = text blockedby.label = Blocked By blocking = text blocking.label = Blocking cause_and_plan = textarea cause_and_plan.cols = 68 cause_and_plan.label = Cause and Plan cause_and_plan.rows = 10 cause_and_plan.value = ROOT CAUSE is .... ACTION PLAN is ... completed_by_date = text completed_by_date.label = Complete By completed_by_date.value = mm/dd/yyyy estimatedhours = text estimatedhours.label = Estimated Number of Hours estimatedhours.order = 1 estimatedhours.value = 0 hours = text hours.label = Add Hours to Ticket hours.order = 2 hours.value = 0 totalhours = text totalhours.label = Total Hours totalhours.order = 4