Modify

Opened 6 years ago

Closed 6 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: 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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by russell.sim@…

Patch to make the macro styled more like the roadmap

comment:1 Changed 6 years ago 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...

comment:2 Changed 6 years ago by qwp0

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from qwp0. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.