Ticket #3478 (closed enhancement: fixed)

Opened 4 months ago

Last modified 3 months ago

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

Reported by: russell.sim@jcu.edu.au Assigned to: qwp0
Priority: normal Component: ProgressMeterMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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)]]

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

Attachments

roadmap_style.patch (6.0 kB) - added by russell.sim@jcu.edu.au on 07/30/08 02:29:34.
Patch to make the macro styled more like the roadmap

Change History

07/30/08 02:29:34 changed by russell.sim@jcu.edu.au

  • attachment roadmap_style.patch added.

Patch to make the macro styled more like the roadmap

08/31/08 14:22:26 changed by qwp0

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...

08/31/08 14:22:41 changed by qwp0

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #3478 (Change progress macro to more closely match the progress bars in the roadmap)




Change Properties
Action