{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, $cobject.author}
{trans 'Commit:'}{$cobject.commit}
{trans 'Message:'}{issuetext $cobject.title, $request}{if isset($cobject.full_message)}

{issuetext $cobject.full_message, $request, true, false, true, true, true}{/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 != 'svn'}

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

{else}

{trans 'Revision:'} {$commit}

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