Opened 9 years ago

Closed 5 years ago

[0.11] color not rendered

Reported by: Owned by: christian.unger@… Dave Cole high CustomRoadmapPlugin normal hju@… 0.11

Description

I have configured a custom workflow and try to get the customroadmap plugin to work. please check the attached screenshots.

Changed 9 years ago by christian.unger@…

configuration section of trac.ini

comment:1 Changed 9 years ago by dan@…

I had the same problem. You can work around this by editing the roadmap.css file in the default trac htdocs/css directory. Mine was located here: /usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/htdocs/css/roadmap.css

comment:2 Changed 9 years ago by anonymous

Priority: normal → high

comment:3 follow-up:  5 Changed 9 years ago by dan@…

There is a section that has a few "table.progress td" classes. Duplicate the td.new for each of your custom statuses. So if you have a "testing" status, you add the following:

table.progress td.testing { background: #[your color]}

comment:4 Changed 9 years ago by christian.unger@…

This workaround doesn't seem to work for me.

comment:5 in reply to:  3 Changed 9 years ago by anonymous

There is a section that has a few "table.progress td" classes. Duplicate the td.new for each of your custom statuses. So if you have a "testing" status, you add the following:

table.progress td.testing { background: #[your color]}

Thanks! Worked perfectly.

comment:6 Changed 9 years ago by anonymous

facing the same problem.

You can work around this by editing the roadmap.css file in the default trac htdocs/css directory

...is a solution, but makes this Plugin useless. In this case I can use the Features in [milestone-groups] (since [0.11]) http://trac.edgewall.org/wiki/TracIni#milestone-groups-section to insert ticket states into progress bar.

Reason for the error seems to be #1867

comment:7 Changed 9 years ago by hju@…

corrected missing character in cc

comment:8 Changed 8 years ago by peterson_eric_d@…

This does not work for me either. I am running trac on windows. I attempted to update all the roadmap.css files I could find. yet still no change. Here are the lines from the displayed source. Note there are two references to roadmap.css.

...

looking at the tracd output

I'm not sure what error 500 means in this context. Is it "file not found"?

comment:9 Changed 8 years ago by anonymous

Strange behaviour is that color is rendered correctly if I define the Colors as:

[roadmap-groups]
assigned.color = DarkKhaki
assigned.counts = true
closed.color = LightGreen
closed.counts = true
closed.status = closed


if I define color in the format #xxxxxx rendering fails.

Can someone else confirm this behaviour?

comment:10 Changed 5 years ago by anonymous

The problem seems to be that attempt to get chrome/common/css/roadmap.css always returns the template instead of actual file.

comment:11 Changed 5 years ago by Ryan J Ollos

Resolution: → wontfix new → closed

The functionality of this plugin is available in the Trac core with 0.11. See CustomRoadmapPlugin for more details.

Modify Ticket

Change Properties