Added the display of the commit parents in the changelog view.
The old commits will not have the parents displayed as already cached in the DB, but the new will get them.
This commit is contained in:
@@ -13,7 +13,18 @@
|
||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $change.scm_id)}
|
||||
<tr class="log">
|
||||
<td class="nobrk"><a href="{$url}">{$change.creation_dtime|dateago:"without"}</a></td>
|
||||
<td>{issuetext $change.summary, $request}{if $change.fullmessage}<br /><br />{issuetext $change.fullmessage, $request, true, false, true, true, true}{/if}</td>
|
||||
<td>{issuetext $change.summary, $request}{if $change.fullmessage}<br /><br />{issuetext $change.fullmessage, $request, true, false, true, true, true}{/if}
|
||||
|
||||
|
||||
{assign $parents = $change.extra.getVal('parents')}
|
||||
|
||||
{if count($parents) > 1}<div class="helptext">
|
||||
{foreach $parents as $parent}<br />
|
||||
{trans 'Parent:'} <a href="{url 'IDF_Views_Source::commit', array($project.shortname, $parent)}" title="{trans 'View corresponding commit'}" class="mono">{$parent}</a>
|
||||
{/foreach}</div>{/if}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="extra">
|
||||
<td colspan="2">
|
||||
|
Reference in New Issue
Block a user