{* * Path * * Path template * * @author Christopher Han * @copyright Copyright (c) 2010 Christopher Han * @package GitPHP * @subpackage Template *}
{if $pathobject} {assign var=pathobjectcommit value=$pathobject->GetCommit()} {assign var=pathobjecttree value=$pathobjectcommit->GetTree()} [{$project->GetProject()}] / {foreach from=$pathobject->GetPathTree() item=pathtreepiece} {$pathtreepiece->GetName()} / {/foreach} {if $pathobject instanceof GitPHP_Blob} {if $target == 'blobplain'} {$pathobject->GetName()} {elseif $target == 'blob'} {$pathobject->GetName()} {else} {$pathobject->GetName()} {/if} {elseif $pathobject->GetName()} {if $target == 'tree'} {$pathobject->GetName()} / {else} {$pathobject->GetName()} / {/if} {/if} {else}   {/if}