would it be possible to use this also to show "planned effort in
person days", and the completion like that?
and i'm also confused: christian said "plugin" and justin "patch".
-solo
On 10/21/06, Justin Francis <[EMAIL PROTECTED]> wrote:
> Christian Boos wrote:
>
> >What about using only the ticket ids?
> >Then the plugin can focus on collecting the stat info really needed (in
> >your case the 'difficulty' custom field)?
> >
> >
> Thanks for the tip. I updated the patch and changed the interface of the
> extension point to pass a list of ticket IDs instead of ticket objects.
> I added the patch to ticket #2314 for the perusal of the developers. The
> ticket is currently owned by cmlenz.
>
> I have also attached a patch to this email that fixes some bugs in the
> new Genshi templates for displaying the roadmap and milestone detail.
> This patch is independant of any changes for the extension point.
>
> Let me know if there is anything else I need to do to have the extension
> point patch considered.
>
> Justin
>
>
> >
>
> Index: templates/milestone_view.html
> ===================================================================
> --- templates/milestone_view.html (revision 4008)
> +++ templates/milestone_view.html (working copy)
> @@ -36,9 +36,9 @@
> <table class="progress">
> <td class="closed" style="width: ${stats.percent_closed}%">
> <a href="$queries.closed_tickets"
> - title="${stats.active_tickets} of ${stats.total_tickets}
> ticket${stats.total_tickets != 1 and 's' or ''} closed"></a>
> + title="${stats.closed_tickets} of ${stats.total_tickets}
> ticket${stats.total_tickets != 1 and 's' or ''} closed"></a>
> </td>
> - <td class="open" style="width: ${stats.percent_active}">
> + <td class="open" style="width: ${stats.percent_active}%">
> <a href="$queries.active_tickets"
> title="${stats.active_tickets} of ${stats.total_tickets}
> ticket${stats.total_tickets != 1 and 's' or ''} active"></a>
> </td>
> @@ -72,10 +72,10 @@
> <td style="white-space: nowrap">
> <table class="progress" style="width: ${group.percent_total
> * 80 / stats.max_percent_total}%">
> <td class="closed" style="width:
> ${group.stats.percent_closed}%">
> - <a href="$queries.closed_tickets"
> - title="${group.stats.active_tickets} of
> ${group.stats.total_tickets} ticket${group.stats.total_tickets != 1 and 's'
> or ''} closed"></a>
> + <a href="$group.queries.closed_tickets"
> + title="${group.stats.closed_tickets} of
> ${group.stats.total_tickets} ticket${group.stats.total_tickets != 1 and 's'
> or ''} closed"></a>
> </td>
> - <td class="open" style="width:
> ${group.stats.percent_active}">
> + <td class="open" style="width:
> ${group.stats.percent_active}%">
> <a href="$group.queries.active_tickets"
> title="${group.stats.active_tickets} of
> ${group.stats.total_tickets} ticket${group.stats.total_tickets != 1 and 's'
> or ''} active"></a>
> </td>
> Index: templates/roadmap.html
> ===================================================================
> --- templates/roadmap.html (revision 4008)
> +++ templates/roadmap.html (working copy)
> @@ -45,9 +45,9 @@
> <table class="progress">
> <td class="closed" style="width: ${stats.percent_closed}%">
> <a href="$queries.closed_tickets"
> - title="${stats.active_tickets} of
> ${stats.total_tickets} ticket${stats.total_tickets != 1 and 's' or ''}
> closed"></a>
> + title="${stats.closed_tickets} of
> ${stats.total_tickets} ticket${stats.total_tickets != 1 and 's' or ''}
> closed"></a>
> </td>
> - <td class="open" style="width: ${stats.percent_active}">
> + <td class="open" style="width: ${stats.percent_active}%">
> <a href="$queries.active_tickets"
> title="${stats.active_tickets} of
> ${stats.total_tickets} ticket${stats.total_tickets != 1 and 's' or ''}
> active"></a>
> </td>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-dev
-~----------~----~----~----~------~----~------~--~---