{* * log.tpl * gitphp: A PHP git repository browser * Component: Log view template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {* Nav *} {foreach from=$revlist item=rev}
{$rev->GetAge()|agestring}{$rev->GetTitle()} {include file='refbadges.tpl' commit=$rev}
{$rev->GetAuthorName()} [{$rev->GetAuthorEpoch()|date_format:"%a, %d %b %Y %H:%M:%S %z"}]
{assign var=bugpattern value=$project->GetBugPattern()} {assign var=bugurl value=$project->GetBugUrl()} {foreach from=$rev->GetComment() item=line} {$line|htmlspecialchars|buglink:$bugpattern:$bugurl}
{/foreach} {if count($rev->GetComment()) > 0}
{/if}
{foreachelse}
 
{if $commit} {assign var=commitage value=$commit->GetAge()|agestring} {t 1=$commitage}Last change %1{/t} {else} {t}No commits{/t} {/if}

{/foreach} {include file='footer.tpl'}