Hello,

I found a nice example on how to filter for "new tickets" to enter
default text in the comment fields of tickets:

<span py:if="req.environ['PATH_INFO']=='/newticket' and not
req.args.has_key('preview')">
  <textarea py:match="textar...@id='field-description' and
@class='wikitext']" py:attrs="select('@*')">
Executed containment actions:

 </textarea></span>

Question:
How can i filter on the ticket status, so that the field-description
can be modified depending on ticket states?
I could not find an example for this and limited explanation on the
use of the above code.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to