{* * project.tpl * gitphp: A PHP git repository browser * Component: Project summary template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {* Nav *}
 
{* Project brief *} {if $cloneurl} {/if} {if $pushurl} {/if}
description{$description}
owner{$owner}
last change{$lastchange}
clone url{$cloneurl}
push url{$pushurl}
shortlog
{* Recent revisions *} {section name=rev max=17 loop=$revlist} {if $smarty.section.rev.index == 16} {else} {/if} {/section}
...
{$revlist[rev].commitage} {$revlist[rev].commitauthor} {$revlist[rev].title_short} {if $revlist[rev].commitref} {$revlist[rev].commitref} {/if}
{if $taglist} {* Tags *}
tags
{section name=tag max=17 loop=$taglist} {if $smarty.section.tag.index == 16} {else} {/if} {/section}
...{$taglist[tag].age_string} {$taglist[tag].name} {if $taglist[tag].comment} {$taglist[tag].comment} {/if}
{/if} {if $headlist} {* Heads *}
heads
{section name=head max=17 loop=$headlist} {if $smarty.section.head.index == 16} {else} {/if} {/section}
...{$headlist[head].age_string} {$headlist[head].name}
{/if} {include file='footer.tpl'}