Parent:
[be1100]
(diff)
Child:
[d78542]
(diff)
Download this file
ticket_changed_tmpl
23 lines (22 with data), 513 Bytes
{% for key, values in changelist %}
{% choose %}
{% when key == 'description' %}
description has changed{% end %}
{% otherwise %}
{% with oldv, newv = values %}
{% choose %}
{% when key == 'assigned_to' %}
- **${key}**: {% if oldv %}${oldv.display_name} --> {% end %}${newv.display_name}
{% end %}
{% when key == 'labels' %}
- **${key}**: ${', '.join(oldv)} --> ${', '.join(newv)}
{% end %}
{% otherwise %}
- **${key}**: ${oldv} --> ${newv}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}