Download this file

ticket_changes.mak    17 lines (16 with data), 398 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
% for key, values in changelist:
% if key == 'description':
description has changed
% else:
<% oldv, newv = values %>
% if key == 'assigned_to':
<% oldv = oldv.display_name %>
<% newv = newv.display_name %>
% endif
% if key == 'labels':
<% oldv = ', '.join(oldv.display_name) %>
<% newv = ', '.join(newv.display_name) %>
% endif
- **${key}**: ${oldv} → ${newv}
% endif
% endfor