some changes ...
[phpgitweb.git] / htdocs / templates / default / commit.tpl
index c77e90599750294b50eff7ced4a3b1b9d3439be2..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>
@@ -46,9 +49,6 @@
 <div class="page_body">
 %full_message%<br/>
 </div>
-
-<div class="list_head">
-</div>
 %difftree%
 
 
@@ -58,7 +58,7 @@
                <td class="sha1"><a class="list" href="?p=%project%&a=commit&h=%hash%">%hash%</a></td>
                <td class="link">
                        <a href="?p=%project%&a=commit&h=%hash%">commit</a> | 
-                       <a href="?p=%project%&a=commitdiff&h=%head%;hp=%hash%">diff</a>
+                       <a href="?p=%project%&a=commitdiff&h=%head%&hp=%hash%">diff</a>
                </td>
        </tr>
 
 <span class="tag" title="tags/%name%">%name%</span>
 
 # [difftree]
+<div class="list_head">
+%tree_count%
+</div>
 <table class="diff_tree%class%">
 %tree%
 </table>
 
+# [tree_count]
+%count% files changed:
+
 # [tree]
 <tr class="%class%">
        <td>%file%</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>