Opened 10 years ago

Closed 10 years ago

#3478 closed enhancement (fixed)

Change progress macro to more closely match the progress bars in the roadmap

Reported by: russell.sim@… Owned by: Andrej Tokarčík
Priority: normal Component: ProgressMeterMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


Hey, we were using a homebrew progress macro for our tickets at one point and it seemed easier to make yours more like the roadmap ones then to migrate our trac 10 one. Anyway, i have made it closer to the normal trac roadmap progress bars.

  • I re-factored it to use dictionaries to make printing the data easier.
  • The progress bar now has links embedded in it for open and closed tickets.
  • It now list the actual numbers of the tickets bellow the progress bar and links to queries.
  • Heading are also supported by passing a string after the kwargs
  • I changed the CSS with fresh copies from the roadmap component (it's almost identical except i removed the info class, so i wouldn't have to wrap everything in another div) i figure it will make skinning easier if they match the roadmap class names.

[[ProgressMeter(milestone=milestone1,owner=somebody, TEST)]]

Attachments (1)

roadmap_style.patch (6.0 KB) - added by russell.sim@… 10 years ago.
Patch to make the macro styled more like the roadmap

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by russell.sim@…

Attachment: roadmap_style.patch added

Patch to make the macro styled more like the roadmap

comment:1 Changed 10 years ago by Andrej Tokarčík

Hi, Russell. Your patch is really cool, actually massive enhancement of entire plugin. I will commit it ASAP, thank you very much. :-)

P.S.: Sorry for long delay, I was quite busy, on holiday and so on...

comment:2 Changed 10 years ago by Andrej Tokarčík

Resolution: fixed
Status: newclosed

(In [4207]) Applying Russell Sim's patch; closes #3478

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Andrej Tokarčík.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.