Changes between Version 101 and Version 102 of TracNotification
- Timestamp:
- Jul 30, 2018, 12:56:09 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracNotification
v101 v102 99 99 }}} 100 100 101 === Customizing the e -mail subject102 The e -mail subject can be customized with the `ticket_subject_template` option, which contains a [http://genshi.edgewall.org/wiki/Documentation/text-templates.html Genshi text template] snippet. The default value is:101 === Customizing the email subject 102 The email subject can be customized with the `ticket_subject_template` option, which contains a [http://genshi.edgewall.org/wiki/Documentation/text-templates.html Genshi text template] snippet. The default value is: 103 103 {{{#!genshi 104 104 ${prefix} #${ticket.id}: ${summary} … … 111 111 * `ticket`: The ticket model object (see [trac:source:branches/1.2-stable/trac/ticket/model.py model.py]). Individual ticket fields can be accessed by appending the field name separated by a dot, eg `${ticket.milestone}`. 112 112 113 === Customizing the e -mail content114 115 The notification e -mail content is generated based on `ticket_notify_email.txt` in `trac/ticket/templates`. You can add your own version of this template by adding a `ticket_notify_email.txt` to the templates directory of your environment. The default is:113 === Customizing the email content 114 115 The notification email content is generated based on `ticket_notify_email.txt` in `trac/ticket/templates`. You can add your own version of this template by adding a `ticket_notify_email.txt` to the templates directory of your environment. The default is: 116 116 117 117 {{{#!genshi