Sorry, the {{{s were merely to denote this as a separate entity (a la trac wiki
syntax). I figured I had a 50% chance of being misinterpreted leaving them out
or putting them in.
The file is a genshi text template. You can find the variables you can use in
http://svn.edgewall.org/repos/trac/trunk/trac/ticket/notification.py
Jeff
On Thu, Feb 12, 2009 at 11:19:18AM -0800, McEneaney, Kevin E wrote:
Thanks that worked great. I had tried changing the main
ticket_nofify_email.txt file but it cause nothing but problems. I had to
create the file without the {{{ }}} else they also showed up in the
e-mail. Are all the elements that can be added documented somewhere?
Does this file follow the Genshi syntax? I know when I was messing with
the main ticket file it did not allow me to add logic.
-Original Message-
From: Jeff Hammel [mailto:jham...@openplans.org]
Sent: Thursday, February 12, 2009 6:48 AM
To: trac-users@googlegroups.com
Subject: [Trac] Re: email with ticket link only
Easily :) In the directory for the trac project that you want the
minimal information, there should be a templates directory. Make a file
in this directory called ticket_notify_email.txt and customize this to
your heart's content. If you just want the ticket URL, the entire file
can be:
{{{
$ticket.link
}}}
I hope this helps. Don't forget to restart trac (or apache, whatever).
Jeff
On Wed, Feb 11, 2009 at 02:20:38PM -0800, McEneaney, Kevin E wrote:
Is there a way to easily reduce/configured the information that is
sent
out when a ticket is created or changed? I have a project that do to
requirements does not want to send anything but the link to the trac
ticket. To make things more interesting I have 5 independent trac
projects running on the same server and only one of the trac projects
has the requirement of the reduced information
Thanks
Kevin McEneaney
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac
Users group.
To post to this group, send email to trac-users@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
-~--~~~~--~~--~--~---