Child:
[be1100]
(diff)
Download this file
ticket_changed_tmpl
23 lines (22 with data), 491 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}**: ${oldv.display_name} β ${newv.display_name}
{% end %}
{% when key == 'labels' %}
- **${key}**: ${', '.join(oldv)} β ${', '.join(newv)}
{% end %}
{% otherwise %}
- **${key}**: ${oldv} β ${newv}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}
{% end %}