Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame^] | 1 | [# Pre-render the title of an activity for an issue update.] |
| 2 | |
| 3 | [include "updates-issue-link.ezt"] |
| 4 | ([issue.short_summary]) |
| 5 | |
| 6 | [define field_changed][end] |
| 7 | [define multiple_fields_changed][end] |
| 8 | [for comment.amendments] |
| 9 | [if-any field_changed] |
| 10 | [define multiple_fields_changed]True[end] |
| 11 | [else] |
| 12 | [define field_changed][comment.amendments.field_name][end] |
| 13 | [end] |
| 14 | [end] |
| 15 | |
| 16 | [if-any issue_change_id] |
| 17 | [if-any multiple_fields_changed] |
| 18 | changed |
| 19 | [else][if-any field_changed] |
| 20 | [field_changed] changed |
| 21 | [else] |
| 22 | commented on |
| 23 | [end][end] |
| 24 | [else] |
| 25 | reported |
| 26 | [end] |
| 27 | |
| 28 | [include "updates-ending.ezt"] |