Use readable names in blobdiff and blobdiff_plain
[gitphp.git] / templates / blobdiff_header.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
{*
 *  blobdiff_header.tpl
 *  gitphp: A PHP git repository browser
 *  Component: Blobdiff view header template
 *
 *  Copyright (C) 2006 Christopher Han <xiphux@gmail.com>
 *}
 {if $file}
 <div class="page_path"><b>/{$file}</b></div>
 {/if}
 <div class="page_body">
 <div class="diff_info">blob:<a href="{$SCRIPT_NAME}?p={$project}&a=blob&h={$hashparent}&hb={$hashbase}&f={$file}">{if $file}a/{$file}{else}{$hashparent}{/if}</a> -&gt; blob:<a href="{$SCRIPT_NAME}?p={$project}&a=blob&h={$hash}&hb={$hashbase}&f={$file}">{if $file}b/{$file}{else}{$hash}{/if}</a></div>

comments