some changes ...
[phpgitweb.git] / htdocs / templates / default / commit.tpl
index 6164ed1fa8c17b0e342bfc31dfb7732d70761ae4..a60644887a15313cae68b286224b994eaa513fff 100644 (file)
@@ -31,6 +31,9 @@
        <tr>
                <td>commit</td>
                <td class="sha1">%hash%</td>
+               <td class="link">
+                       <a href="?p=%project%&a=shortlog&h=%hash%">shortlog</a> | <a href="?p=%project%&a=log&h=%hash%">log</a>
+               </td>
        </tr>
        <tr>
                <td>tree</td>
 # [tree_merge_new]
        <td class="link" align="right"> | </td>
 # [tree_merge_blob]
-<a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
+<a href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">blob</a>
 # [tree_merge_history]
 <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
 # [tree_merge_diff]
-<a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff%id%</a> | 
+<a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%&fh=%file_hash%&fhp=%parent_file_hash%">diff%id%</a> | 
 # [tree_merge_patch_link]
        <td class="link"><a href="#%patch_marker%">patch</a> | </td>
 
 
 # [tree_file_link]
-<a class="list" href="?p=%project%&a=blob&h=%hash%&f=%file%">%file%</a>
+<a class="list" href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">%file%</a>
 
 # [tree_patch_link]
 <a href="#%patch_marker%">patch</a> | 
 <span class="file_status new">[new %type% with mode: %mode%]</span>
 
 # [tree_new_links]
-<a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
+<a href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">blob</a>
 
 # [tree_deleted]
 <span class="file_status deleted">[deleted %type%]</span>
 
 # [tree_deleted_links]
-<a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
+<a href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
 
 # [tree_changed]
 <span class="file_status mode_chnge">[changed%changes%]</span>
  mode: %to%
 
 # [tree_changed_links_diff]
-<a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff</a> | 
+<a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%&fh=%file_hash%&fhp=%parent_file_hash%">diff</a> | 
 # [tree_changed_links]
-<a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
+<a href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
 
 # [tree_moved]
-<span class="file_status moved">[moved from <a class="list" href="?p=%project%&a=blob&f=%file%&h=%hash%">%file%</a> with %similarity% similarity%mode%]</span>
+<span class="file_status moved">[moved from <a class="list" href="?p=%project%&a=blob&f=%file%&h=%hash%&fh=%file_hash%">%file%</a> with %similarity% similarity%mode%]</span>
 # [tree_copied]
-<span class="file_status copied">[copied from <a class="list" href="?p=%project%&a=blob&f=%file%&h=%hash%">%file%</a> with %similarity% similarity%mode%]</span>
+<span class="file_status copied">[copied from <a class="list" href="?p=%project%&a=blob&f=%file%&h=%hash%&fh=%file_hash%">%file%</a> with %similarity% similarity%mode%]</span>
 # [tree_moved_mode]
 , mode: %mode%
 
 # [tree_moved_links_diff]
-<a href="?p=%project%&a=blobdiff&h=%hash%&f=src/mod-helpserv.c&hp=%parent%">diff</a> | 
+<a href="?p=%project%&a=blobdiff&h=%hash%&f=src/mod-helpserv.c&hp=%parent%&fh=%file_hash%&fhp=%parent_file_hash%">diff</a> | 
 # [tree_moved_links]
-<a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
+<a href="?p=%project%&a=blob&h=%hash%&f=%file%&fh=%file_hash%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>