Switch to unified view

a/Allura/allura/templates/mail/Ticket.txt b/Allura/allura/templates/mail/Ticket.txt
1
1
2
2
3
---
3
---
4
4
5
** [{{ticket.app_config.options.mount_point}}:{{ticket.ticket_num}}] {{ticket.summary}}**
5
** [{{data.app_config.options.mount_point}}:{{data.ticket_num}}] {{data.summary}}**
6
6
7
**Status:** {{ticket.status}}  
7
**Status:** {{data.status}}
8
{% if ticket.labels.__len__() -%}
8
{% if data.labels.__len__() -%}
9
    **Labels:** {% for label in ticket.labels %}{{label}} {% else %}None{% endfor %}  
9
    **Labels:** {% for label in data.labels %}{{label}} {% else %}None{% endfor %}
10
{% endif -%}
10
{% endif -%}
11
**Created:** {{ticket.created_date.strftime('%a %b %d, %Y %I:%M %p UTC')}} by {{ticket.reported_by.display_name}}  
11
**Created:** {{data.created_date.strftime('%a %b %d, %Y %I:%M %p UTC')}} by {{data.reported_by.display_name}}
12
{% if (ticket.mod_date - ticket.created_date).days >= 0 -%}
12
{% if (data.mod_date - data.created_date).days >= 0 -%}
13
    **Last Updated:** {{ticket.mod_date.strftime('%a %b %d, %Y %I:%M %p UTC')}}
13
    **Last Updated:** {{data.mod_date.strftime('%a %b %d, %Y %I:%M %p UTC')}}
14
{% endif -%}
14
{% endif -%}
15
**Owner:** {{ticket.assigned_to_name()}}
15
**Owner:** {{data.assigned_to_name()}}
16
16
17
{{ticket.description}}
17
{{data.description}}