{extends "idf/source/base.html"} {block extraheader}{/block} {block docclass}yui-t1{assign $inCommit=true}{/block} {block body} {if count($diff.files)} {/if}
{trans 'Date:'}{$cobject.date|date:"%Y-%m-%d %H:%M:%S"} ({$cobject.date|dateago})
{trans 'Author:'}{showuser $rcommit.get_author(), $request}
{trans 'Commit:'}{$cobject.commit}
{trans 'Message:'}{issuetext $cobject.title, $request}{if isset($cobject.full_message)}

{issuetext $cobject.full_message, $request}{/if}
{trans 'Files:'} {foreach $diff.files as $filename=>$diffdef} {assign $ndiff = count($diffdef['chunks'])} {$filename} ({blocktrans $ndiff}{$ndiff} diff{plural}{$ndiff} diffs{/blocktrans})
{/foreach}
{if count($diff.files)}

{trans 'Change Details'}

{$diff.as_html()} {/if}{if count($diff.files) or $large_commit} {aurl 'url', 'IDF_Views_Source::downloadDiff', array($project.shortname, $commit)}

{trans 'Archive'} {trans 'Download the corresponding diff file'}

{/if} {/block} {block context} {if $scm == 'git'}

{trans 'Branches:'}
{foreach $branches as $branch} {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $branch)} {$branch}
{/foreach}

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