Fixed issue 267, description for code review not visible on Review screen.

This commit is contained in:
Loic d'Anterroches 2009-08-03 21:23:23 +02:00
parent cb375dea26
commit 0e421c0b34
2 changed files with 2 additions and 1 deletions

View File

@ -233,6 +233,7 @@ class IDF_Views_Review
'files' => $files,
'diff' => $diff,
'patch' => $patch,
'comments' => $patch->get_comments_list(array('sort' => 'id ASC')),
'form' => $form,
'reviewers' => $reviewers,
),

View File

@ -26,7 +26,7 @@
<th><strong>{trans 'Commit:'}</strong></th><td class="mono"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $patch.get_commit().scm_id)}" title="{trans 'View corresponding source tree'}">{$patch.get_commit().scm_id}</a></td>
</tr>
<tr>
<th><strong>{trans 'Description:'}</strong></th><td>{issuetext $review.summary, $request}<br /><br />{issuetext $patch.summary, $request}</td>
<th><strong>{trans 'Description:'}</strong></th><td>{issuetext $review.summary, $request}<br /><br />{issuetext $patch.description, $request}</td>
</tr>
<tr>
<th><strong>{trans 'Reviewers:'}</strong></th><td>{if count($reviewers)}{foreach $reviewers as $r}{$r}, {/foreach}{else}{trans 'No reviewers at the moment.'}{/if}</td>