Mailing List Archive

Roadmap patch to show all milestones
I really like the Roadmap module. I find it a very natural way to view
tickets as part of the "big picture". Unfortunately for me, the current
implementation will not display milestones whose date is in the past.

Attached is a small patch that adds a link to the Roadmap page that
toggles between the current list and a new "show all" list.

By default, the link reads "Show All Milestones". When clicked, it does
exactly what it says.

If the Roadmap page is showing all milestones, the link reads "Show
Current Milestones". When clicked, it shows the default view which is
to display milestones whose time is after the current time or have no
time at all.

--
Tim Moloney <t.moloney@verizon.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: roadmap-list.patch
Type: text/x-patch
Size: 2710 bytes
Desc: not available
Url : /archive/trac/attachments/20040829/34511e2d/roadmap-list.bin
Roadmap patch to show all milestones [ In reply to ]
Am 30.08.2004 um 05:12 schrieb Tim Moloney:
> I really like the Roadmap module. I find it a very natural way to view
> tickets as part of the "big picture". Unfortunately for me, the
> current
> implementation will not display milestones whose date is in the past.
>
> Attached is a small patch that adds a link to the Roadmap page that
> toggles between the current list and a new "show all" list.
>
> By default, the link reads "Show All Milestones". When clicked, it
> does
> exactly what it says.
>
> If the Roadmap page is showing all milestones, the link reads "Show
> Current Milestones". When clicked, it shows the default view which is
> to display milestones whose time is after the current time or have no
> time at all.

Thanks a lot for the patch, I've just checked it in after some minor
editing (I prefer to use the 'action' parameter for stuff that actually
"acts on" (e.g. modifies) the resource in some way).

Cheers, Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de