<th>{trans 'Size'}</th>␊ |
</tr>␊ |
</thead>{if !$tree_in and !$tags_in}␊ |
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)} ␊ |
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}␊ |
<tfoot>␊ |
<tr><th colspan="5">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br/>␊ |
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>␊ |
|
<td{if $file.type == 'tree'} colspan="4"{/if}><a href="{$url}">{$file.file}</a></td>{else}<td><a href="#" title="{$file.hash}">{$file.file}</a></td>{/if}␊ |
{if $file.type == 'blob'}␊ |
{if isset($file.date) and $file.log != '----'}␊ |
<td><span class="smaller">{$file.date|dateago:"wihtout"}</span></td> ␊ |
<td><span class="smaller">{$file.date|dateago:"wihtout"}</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>{$file.size|size}</td>{/if}␊ |
|
</tbody>␊ |
</table>␊ |
{aurl 'url', 'IDF_Views_Source::download', array($project.shortname, $commit)}␊ |
<p class="right soft"><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/package-grey.png'}" alt="{trans 'Archive'}" align="bottom" /></a> <a href="{$url}">{trans 'Download this version'}</a> {trans 'or'} <kbd>git clone {$project.getSourceAccessUrl($user)}</kbd> <a href="{url 'IDF_Views_Source::help', array($project.shortname)}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/help.png'}" alt="{trans 'Help'}" /></a></p>␊ |
<p class="right soft">␊ |
{* <a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/package-grey.png'}" alt="{trans 'Archive'}" align="bottom" /></a> <a href="{$url}">{trans 'Download this version'}</a> {trans 'or'} *}␊ |
<kbd>mtn clone {$project.getSourceAccessUrl($user)}</kbd> <a href="{url 'IDF_Views_Source::help', array($project.shortname)}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/help.png'}" alt="{trans 'Help'}" /></a>␊ |
</p>␊ |
␊ |
␊ |
{/block}␊ |