From 0dedee442910e45aea7cd3de62ef974e7cc7f6c3 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Thu, 1 Oct 2009 14:24:36 +0200 Subject: [PATCH] Fixed issue 296, meaningful message on status change. --- src/IDF/templates/idf/issues/issue-updated-email.txt | 2 +- src/IDF/templates/idf/issues/view.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/templates/idf/issues/issue-updated-email.txt b/src/IDF/templates/idf/issues/issue-updated-email.txt index aaee025..62aaa7a 100644 --- a/src/IDF/templates/idf/issues/issue-updated-email.txt +++ b/src/IDF/templates/idf/issues/issue-updated-email.txt @@ -14,7 +14,7 @@ {foreach $comments as $c}{assign $who = $c.get_submitter()}# {blocktrans}By {$who|safe}, {$c.creation_dtime|date}:{/blocktrans} -{if strlen($c.content) > 0}{$c.content|safe}{else}{trans '(No comments were given for this change.)'}{/if}{if $c.changedIssue()} +{if strlen($c.content) > 0}{$c.content|safe}{/if}{if $c.changedIssue()} {foreach $c.changes as $w => $v} {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} diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html index 0a08cf7..191909a 100644 --- a/src/IDF/templates/idf/issues/view.html +++ b/src/IDF/templates/idf/issues/view.html @@ -15,7 +15,7 @@ {/if} -
{if strlen($c.content) > 0}{issuetext $c.content, $request}{else}{trans '(No comments were given for this change.)'}{/if}
+{if strlen($c.content) > 0}
{issuetext $c.content, $request}
{/if} {assign $attachments = $c.get_attachment_list()} {if $attachments.count() > 0}