added commit difftree
[phpgitweb.git] / htdocs / templates / default / commit.tpl
index cb2fc4eea8237b82fe86049cd3ba3fda7d114204..c77e90599750294b50eff7ced4a3b1b9d3439be2 100644 (file)
@@ -49,9 +49,7 @@
 
 <div class="list_head">
 </div>
-<table class="diff_tree">
-%tree%
-</table>
+%difftree%
 
 
 # [parent]
 # [commit_ref_tag]
 <span class="tag" title="tags/%name%">%name%</span>
 
+# [difftree]
+<table class="diff_tree%class%">
+%tree%
+</table>
+
 # [tree]
 <tr class="%class%">
-       <td><a class="list" href="?p=%project%&a=blob&h=%hash%&f=%file%">src/mod-helpserv.c</a></td>
-       <td></td>
-       <td class="link">
-               <a href="?p=%project%&a=blobdiff&h=%hash%&f=src/mod-helpserv.c&hp=%parent%">diff</a> | 
-               <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | 
-               <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a></td>
+       <td>%file%</td>
+       <td>%specials%</td>
+       %merge%
+       <td class="link">%links%</td>
 </tr>
+
+# [tree_merge]
+       <td class="link%class%">%links%</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>
+# [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> | 
+# [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>
+
+# [tree_patch_link]
+<a href="#%patch_marker%">patch</a> | 
+
+# [tree_new]
+<span class="file_status new">[new %type%]</span>
+
+# [tree_new_file]
+<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>
+
+# [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>
+
+# [tree_changed]
+<span class="file_status mode_chnge">[changed%changes%]</span>
+# [tree_changed_type]
+ from %from% to %to%
+# [tree_changed_mode]
+ mode: %from%->%to%
+# [tree_changed_mode_to]
+ mode: %to%
+
+# [tree_changed_links_diff]
+<a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">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>
+
+# [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>
+# [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>
+# [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> | 
+# [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>