On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote: > > I realize the template plugin should do this but I am having issues with > it right now and I have a deadline to meet so I am also pursuing other > avenues. > > Has anyone gotten this to work to add multiple lines to the default > description? > > <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="textarea[@id='field-description' > and @class='wikitext']" py:attrs="select('@*')"> Your custom description > goes here. </textarea> </span> </html> > > From: > http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets >
You can add multiple lines to the ticket description through trac.ini. Just prefix line 2:end with a leading space. For example, [ticket] default_description = line1 line2 line3 line4 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
