Trac is 0.11.4 and ticket_notify_email is (just added the second line "Opened":
-------------------------------------------------
$ticket_body_hdr
Opened $ticket.time_created
$ticket_props
#choose ticket.new
#when True
$ticket.description
#end
#otherwise
#if changes_body
Changes (by $change.author):
$changes_body
#end
#if changes_descr
#if not changes_body and not change.comment and change.author
Description changed by $change.author:
#end
$changes_descr
--
#end
#if change.comment
Comment${not changes_body and '(by %s)' % change.author or ''}:
$change.comment
#end
#end
#end
--
Ticket URL: <$ticket.link>
$project.name <${abs_href()}>
-------------------------------------------------
Thanks very much.
On Thu, Jul 2, 2009 at 5:31 PM, Erik Bray<[email protected]> wrote:
>
> 2009/7/2 Álvaro J. Iradier <[email protected]>:
>>
>> Hi,
>>
>> I'm trying to add the time the ticket was opened to the ticket
>> notification email. I modify ticket_notify_email.txt, but it looks
>> like $ticket.time_created is blank. Can I get this information
>> somewhere?
>>
>> Thanks.
>
> Hm, it seems to work for me. What version of Trac are you using, and
> what are the actual contents of your template?
>
> >
>
--
Álvaro J. Iradier Muro
Departamento de Desarrollo
[email protected]
Polar Technologies
T +34 976 527 952
F +34 976 466 125
www.polartech.es
Antes de imprimir este mensaje, por favor, compruebe que es verdaderamente
necesario. El medioambiente es cosa de todos.
AVISO LEGAL
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener
información confidencial, siendo para uso exclusivo del destinatario,
quedando prohibida su divulgación, copia o distribución a terceros sin la
autorización expresa del remitente. Si Vd. ha recibido este mensaje
erróneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboración.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---