{extends "source/base.html"} {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:'}{$cobject.author|strip_tags}
{trans 'Commit:'}{$cobject.commit}
{trans 'Tree:'}{$cobject.tree}

{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} {/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}