Issue 145: Submodules don't link correctly

This commit is contained in:
Nathan Adams 2016-03-26 15:58:47 -05:00
parent f6d60fdc35
commit 99137ee233

View File

@ -32,16 +32,19 @@
<tr>
<td class="fileicon"><img src="{media '/idf/img/'~$file.type~'.png'}" alt="{$file.type}" /></td>
{if $file.type != 'extern'}
<td{if $file.type == 'tree'} colspan="4"{/if}><a href="{$url}"><nobr>{$file.file}</nobr></a></td>{else}<td><a href="#" title="{$file.hash}"><nobr>{$file.file}</nobr></a></td>{/if}
{if $file.type == 'blob'}
{if isset($file.date) and $file.log != '----'}
<td><span class="smaller"><nobr>{$file.date|dateago:"without"}</nobr></span></td>
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}</span></td>
{else}<td colspan="2"></td>{/if}
<td><nobr>{$file.size|size}</nobr></td>{/if}
{if $file.type == 'extern'}
<td colspan="3">{$file.extern}</td>
{/if}
<td{if $file.type == 'tree'} colspan="4"{/if}><a href="{$url}"><nobr>{$file.file}</nobr></a></td>
{else}
<td colspan="4"><a href="{$file.extern}" title="{$file.hash}"><nobr>{$file.file}</nobr></a></td>{/if}
{if $file.type == 'blob'}
{if isset($file.date) and $file.log != '----'}
<td><span class="smaller"><nobr>{$file.date|dateago:"without"}</nobr></span></td>
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}</span></td>
{else}
<td colspan="2"></td>
{/if}
<td><nobr>{$file.size|size}</nobr></td>
{/if}
</tr>
{/foreach}
</tbody>