| 1 | {extends "idf/source/base.html"}␊ |
| 2 | {block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}␊ |
| 3 | {block docclass}yui-t1{assign $inSourceTree=true}{/block}␊ |
| 4 | ␊ |
| 5 | {block body}␊ |
| 6 | <h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>␊ |
| 7 | ␊ |
| 8 | <table class="code" summary=" ">␊ |
| 9 | {if !$tree_in}␊ |
| 10 | {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}␊ |
| 11 | <tfoot>␊ |
| 12 | <tr><th colspan="2">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br />␊ |
| 13 | <span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>␊ |
| 14 | </th></tr>␊ |
| 15 | </tfoot>␊ |
| 16 | {/if}␊ |
| 17 | <tbody>␊ |
| 18 | {$file}␊ |
| 19 | </tbody>␊ |
| 20 | </table>␊ |
| 21 | {aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $efullpath)}␊ |
| 22 | <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 file'}</a></p>␊ |
| 23 | {/block}␊ |
| 24 | ␊ |
| 25 | {block context}␊ |
| 26 | {include 'idf/source/mercurial/branch_tag_list.html'}␊ |
| 27 | {/block}␊ |
| 28 | ␊ |
| 29 | {block javascript}␊ |
| 30 | <script type="text/javascript" src="{media '/idf/js/prettify.js'}"></script>␊ |
| 31 | <script type="text/javascript">prettyPrint();</script>␊ |
| 32 | {/block}␊ |
| 33 | |