started with commitdiff page
[phpgitweb.git] / htdocs / templates / default / commitdiff.tpl
diff --git a/htdocs/templates/default/commitdiff.tpl b/htdocs/templates/default/commitdiff.tpl
new file mode 100644 (file)
index 0000000..0ee2b38
--- /dev/null
@@ -0,0 +1,39 @@
+# [main]
+<div class="header">
+<a class="title" href="?p=%project%&a=commitdiff&h=%hash%">%message% %refs%</a>
+</div>
+<div class="title_text">
+<table class="object_header">
+       <tr>
+               <td>author</td>
+               <td>
+                       <a title="Search for commits authored by %author%" class="list" href="?p=%project%&a=search&h=%hash%&s=%author%&st=author">%author%</a> 
+                       <a title="Search for commits authored by %author_mail%" class="list" href="?p=%project%&a=search&h=%hash%&s=%author_mail%&st=author">&lt;%author_mail%&gt;</a>
+               </td>
+               <td rowspan="2"></td>
+       </tr>
+       <tr>
+               <td></td>
+               <td> %author_date% (%author_local_date% %author_timezone%)</td>
+       </tr>
+       <tr>
+               <td>committer</td>
+               <td>
+                       <a title="Search for commits committed by %committer%" class="list" href="?p=%project%&a=search&h=%hash%&s=pk910&st=committer">%committer%</a> 
+                       <a title="Search for commits committed by %committer_mail%" class="list" href="?p=%project%&a=search&h=%hash%&s=%committer_mail%&st=committer">&lt;%committer_mail%&gt;</a>
+               </td>
+               <td rowspan="2"></td>
+       </tr>
+       <tr>
+               <td></td>
+               <td> %committer_date% (%committer_local_date% %committer_timezone%)</td>
+       </tr>
+</table>
+</div>
+<div class="page_body">
+%difftree%
+<br/>
+<div class="patchset">
+%patchset%
+</div>
+</div>
\ No newline at end of file