{* * commitdiff_item.tpl * gitphp: A PHP git repository browser * Component: Commitdiff view item template * * Copyright (C) 2006 Christopher Han *} {if $status == "A"}
{$to_type}:{if $file}{$file}{else}{$to_id}{/if}(new)
{elseif $status == "D"}
{$from_type}:{if $file}{$file}{else}{$from_id}{/if}(deleted)
{elseif $status == "M"} {if $from_id != $to_id}
{$from_type}:{if $file}a/{$file}{else}{$from_id}{/if} -> {$to_type}:{if $file}b/{$file}{else}{$to_id}{/if}
{/if} {/if}