Adding a custom-field textare to Trac broke the UI

26 views
Skip to first unread message

Aidin Gharibnavaz

unread,
Jul 1, 2012, 10:13:21 AM7/1/12
to trac-...@googlegroups.com
Hi there!

Recently I added a custom field to our Trac, but as you can see in the attached screen shot, UI got broken!
Is there any workaround for this?

Thanks in advanced.

My trac info:
Version: 0.12.3
Python: 2.6.6
Operation System: Debian 6.0
I tested it with both Google Chrome 15.0.874.121 and firefox 12.0

Configuration:

[ticket-custom]
billable = checkbox
billable.label = Billable?
billable.order = 3
billable.value = 1
changelist = textarea
changelist.cols = 60
changelist.format = wiki
changelist.label = Change Description
changelist.rows = 5
changelist.order = 0
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
internal = checkbox
internal.label = Internal?
internal.order = 5
internal.value = 0
patchversion_field = select
patchversion_field.label = Patch Version
patchversion_field.options = None|0.12.1|0.12.2|0.12.3|0.12.4|0.12.5|0.12.6|0.12.7|0.12.8|0.12.9|0.12.10|0.12.11|0.12.12|0.12.13|0.12.14|0.12.15|0.12.16|0.12.17|0.12.18|0.14.1|0.14.2|0.14.3|0.14.4|0.14.5|0.14.6|0.14.7|0.14.8|0.14.9|0.14.10|0.14.11|0.14.12|0.14.13|0.14.30|0.14.31|0.14.32|0.14.33|0.14.34|0.14.35|0.14.36|0.14.37|0.14.38
patchversion_field.value = None
systemowner_field = select
systemowner_field.label = System Owner
systemowner_field.options = All|Iranzamin|Ansar|Parsian
systemowner_field.value = All
totalhours = text
totalhours.label = Total Hours
totalhours.order = 4
totalhours.value = 0
screenshot-3.png

Aidin Gharibnavaz

unread,
Jul 5, 2012, 4:13:00 AM7/5/12
to trac-...@googlegroups.com
screenshot-3.png

RjOllos

unread,
Jul 5, 2012, 9:44:59 AM7/5/12
to trac-...@googlegroups.com
You need to add a .order field to the patchversion_field custom field and position the Change Description text area on its own line.

Aidin Gharibnavaz

unread,
Jul 7, 2012, 9:20:16 AM7/7/12
to trac-...@googlegroups.com
Thanks for your reply! :)

I played with orders a little, but I couldn't manage to put textarea in its own line. No matter how I change the order, it will arrange fields in two columns. (Attached screenshot is when I put textarea in the last place)
I searched documents and google, but I couldn't find if there's an option for putting a custom field on a separate line.

On Thu, Jul 5, 2012 at 6:14 PM, RjOllos <ry...@physiosonics.com> wrote:
You need to add a .order field to the patchversion_field custom field and position the Change Description text area on its own line.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/KgnMEYMfagwJ.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Screenshot.png

Jun Omae

unread,
Jul 7, 2012, 9:48:38 AM7/7/12
to trac-...@googlegroups.com
If you're using TimingAndEstimationPlugin, try to disable
ticketpropslayoutchanger module of TimingAndEstimationPlugin on
admin/plugins page.

timingandestimationplugin.hours_layout_changer.ticketpropslayoutchanger
= disabled

On Sat, Jul 7, 2012 at 10:20 PM, Aidin Gharibnavaz <aidi...@gmail.com> wrote:
> Thanks for your reply! :)
>
> I played with orders a little, but I couldn't manage to put textarea in its
> own line. No matter how I change the order, it will arrange fields in two
> columns. (Attached screenshot is when I put textarea in the last place)
> I searched documents and google, but I couldn't find if there's an option
> for putting a custom field on a separate line.


--
Jun Omae <jun...@gmail.com> (大前 潤)

Aidin Gharibnavaz

unread,
Jul 8, 2012, 6:38:57 AM7/8/12
to trac-...@googlegroups.com
That solved my problem! Thanks a lot. :۰)

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
Reply all
Reply to author
Forward
0 new messages