{extends "idf/source/base.html"} {block extraheader}{/block} {block docclass}yui-t1{assign $inCommit=true}{/block} {block body}
{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, 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} |
{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}