Modify

Opened 10 months ago

Last modified 7 months ago

#11614 new enhancement

Documentation: Template for email content

Reported by: anonymous Owned by: hasienda
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

It would be useful to expand the documentation section http://trac-hacks.org/wiki/AnnouncerPlugin#Formatters

to include a link to the page to refer to for template variables.

Seems that the variables as pointed by this page https://trac-hacks.org/wiki/TracNotification#Customizingthee-mailcontent do not work for text template, but this example for html template works also for text template: https://announcerplugin/trunk/announcer/templates/ticket_email_mimic.html@12359:119-120#L112

A short list:

${ticket.id} 
${ticket['status']} 
${ticket['type']}
${ticket['summary']
${field['label']}
${ticket[field['name']] or 'None'}
${description}
${author}
${change}
${comment}
${ticket_link}
${project_name}
${project_link}
${project_desc}

Nik

Attachments (0)

Change History (1)

comment:1 Changed 7 months ago by rjollos

  • Summary changed from Documetation: Template for email content to Documentation: Template for email content

Add Comment

Modify Ticket

Action
as new The owner will remain hasienda.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.