| 1 | {trans 'Hello,'}␊ |
| 2 | ␊ |
| 3 | {blocktrans}The following issue has been updated:{/blocktrans}␊ |
| 4 | ␊ |
| 5 | {$issue.id} - {$issue.summary|safe}␊ |
| 6 | {trans 'Project:'} {$project.name|safe}␊ |
| 7 | {trans 'Status:'} {$issue.get_status.name}␊ |
| 8 | {trans 'Reported by:'} {$issue.get_submitter|safe}␊ |
| 9 | {trans 'URL:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}␊ |
| 10 | {assign $tags = $issue.get_tags_list()}{if $tags.count()}{trans 'Labels:'}␊ |
| 11 | {foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}␊ |
| 12 | {/foreach}␊ |
| 13 | {/if}{trans 'Comments (last first):'}␊ |
| 14 | ␊ |
| 15 | {foreach $comments as $c}{assign $who = $c.get_submitter()}# {blocktrans}By {$who|safe}, {$c.creation_dtime|date}:{/blocktrans}␊ |
| 16 | ␊ |
| 17 | {if strlen($c.content) > 0}{$c.content|safe}{/if}{if $c.changedIssue()}␊ |
| 18 | {foreach $c.changes as $w => $v}␊ |
| 19 | {if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if} {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}{/foreach}{/if}{assign $attachments = $c.get_attachment_list()}{if $attachments.count() > 0}␊ |
| 20 | ␊ |
| 21 | {trans 'Attachments:'}{foreach $attachments as $a}␊ |
| 22 | - {$a.filename|safe} - {$a.filesize|ssize}␊ |
| 23 | {$url_base}{url 'IDF_Views_Issue::viewAttachment', array($project.shortname, $a.id, $a.filename)}{/foreach}␊ |
| 24 | {/if}␊ |
| 25 | ␊ |
| 26 | {/foreach}␊ |
| 27 | ␊ |
| 28 | --␊ |
| 29 | {trans 'Issue:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}␊ |
| 30 | |