Hi all, I wish to have 2 different buttons for creating a ticket : - New Bug - New Feature
each 'button' use a different template. I found how to use a specific template for the 'New Ticket' template: [EMAIL PROTECTED]:/home/dev/trac/templates$ cat site.html <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" py:strip=""> <!-- Custom match templates go here --> <span py:if="req.environ['PATH_INFO']=='/newticket' and not req.args.has_key('preview')"> <textarea py:match="[EMAIL PROTECTED]'field-description' and @class='wikitext']" py:attrs="select('@*')">= Steps = = Expected results = = Observed results = = Issue = </textarea> </span> </html> thanks for the help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
