{extends "idf/source/base.html"} {block extraheader}{/block} {block docclass}yui-t1{assign $inSourceTree=true}{/block} {block body}

{trans 'Root'}/{if $breadcrumb}{$breadcrumb|safe}{/if}

{if !$tree_in and !$tags_in} {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)} {/if} {$file}
{blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
{aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $fullpath)}

{trans 'Archive'} {trans 'Download this file'}

{/block} {block context}

{trans 'Branches:'}
{foreach $branches as $branch => $path} {aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)} {if $path}{$path|shorten:25}{else}{$branch|shorten:25}{/if}
{/foreach}

{if $tags}

{trans 'Tags:'}
{foreach $tags as $tag => $path} {aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)} {if $path}{$path|shorten:25}{else}{$tag|shorten:25}{/if}
{/foreach}

{/if} {/block} {block javascript} {/block}