{* * Taglist * * Tag list template fragment * * @author Christopher Han * @copyright Copyright (c) 2010 Christopher Han * @packge GitPHP * @subpackage Template *} {foreach from=$taglist item=tag name=tag} {assign var=object value=$tag->GetObject()} {assign var=tagcommit value=$tag->GetCommit()} {assign var=objtype value=$tag->GetType()} {/foreach} {if $hasmoretags} {/if}
{$tagcommit->GetAge()|agestring} {if $objtype == 'commit'} {$tag->GetName()} {elseif $objtype == 'tag'} {$tag->GetName()} {/if} {assign var=comment value=$tag->GetComment()} {if count($comment) > 0} {$comment[0]} {/if}