On Sep 30, 6:16 pm, Christian Boos <[email protected]> wrote: > pagameba wrote: > > I've implemented a custom ticket workflow in 11.5 that adds a verify > > status for qa purposes, it works exactly as I need it to. The only > > thing that isn't working the way I would like it to now is the > > milestone page, it shows closed, active and total tickets. I would > > like to add a new summary for tickets that are status verify. > > You're looking forhttp://trac.edgewall.org/wiki/TracRoadmapCustomGroups > > > Is this something I can write a plugin for? Modify existing code? > > No, it's part of the base ticket module, you don't need anything else. > > -- Christian
you may also want to create some custom milestone related css stuff, and add that to you site.css as recommended here: http://trac.edgewall.org/wiki/TracInterfaceCustomization specificall the ProjectTemplates section at the bottom. for reference, I am including mine, I use bot the built in Red, green, yellow, and a couple custom ones in my roadmap for special states, 4 states are enough (red, green, yellow, "wite") then there is no need for the css stuff. The states are active, closed, moreinfo, new, and reqsverfication. Of note, both closed and reqsverification counts towards overall completion percentage as "done" I also point the site.css to a separate css file for the roadmaps, probably over kill, but I did this so I can use a global file for most, or, as in this case, use something specifically local, which is in the htdocs directory of the project. Anyway, hope it helps trac.ini: [milestone-groups] active = * active.css_class = open active.label = in progress active.order = 4 closed = closed closed.css_class = closed closed.order = 0 closed.overall_completion = true closed.query_args = group=resolution moreinfo = needmoreinfo,needinfo moreinfo.css_class = moreInfo moreinfo.label = Need Info moreinfo.order = 2 new = new new.css_class = newticket new.label = New new.order = 3 reqsverification = reqsVerification reqsverification.css_class = new reqsverification.label = Unverified reqsverification.order = 1 reqsverification.overall_completion = true reqsverification.query_args = group=owner site.css: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" py:strip=""> <!--! Custom match templates go here --> <!--! Add site-specific style sheet --> <head py:match="head" py:attrs="select('@*')"> ${select('*|comment()|text()')} <link rel="stylesheet" type="text/css" href="${href.chrome('site/rm.css')}" /> </head> </html> rm.css: table.progress td.moreInfo { background: #ff1111} table.progress td.newticket { background: #AAAAAA} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
