source: announcerplugin/trunk/announcer/templates/ticket_email_plaintext.txt

Last change on this file was 12266, checked in by Ryan J Ollos, 11 years ago

Refs #10083: Fixed - HTML notification for attachments do not include the author name.

File size: 1.3 KB
Line 
1#${ticket.id}: ${ticket['summary']}
2${ticket['status']} ${ticket['type']}
3---------------------------------------------------------------------
4{% for field in fields %}\
5{% choose %}\
6{% when ticket[field['name']] %}\
7${field['label']}: ${ticket[field['name']]}
8{% end %}\
9{% otherwise %}\
10${field['label']}: (None)
11{% end %}\
12{% end %}\
13{% end %}\
14{% if category == 'created' %}\
15---------------------------------------------------------------------
16${ticket['description']}
17{% end %}\
18{% if has_changes or attachment %}\
19---------------------------------------------------------------------
20Changes (by ${author}):
21{% for change in short_changes %}
22 * ${change} from '${short_changes[change][0]}' to \
23{% choose %}\
24{% when short_changes[change][1] %}\
25'${short_changes[change][1]}'{% end %}\
26{% otherwise %}\
27(deleted){% end %}\
28{% end %}\
29{% end %}\
30{% for change in long_changes %}\
31
32 * ${change}:
33${long_changes[change]}
34{% end %}\
35{% end %}\
36{% if attachment %}\
37
38Attachment:
39 * File '${attachment.filename}' added{% if attachment.description %}: ${attachment.description} {% end %}
40{% end %}\
41{% if comment %}\
42
43---------------------------------------------------------------------
44Comment{% if not has_changes %} (by ${author}){% end %}:
45
46${comment}\
47{% end %}\
48
49--
50Ticket URL: <URL:${ticket_link}>
51${project_name} <URL:${project_link}>
52${project_desc}
Note: See TracBrowser for help on using the repository browser.