continued :)
[phpgitweb.git] / htdocs / templates / default / commit.tpl
diff --git a/htdocs/templates/default/commit.tpl b/htdocs/templates/default/commit.tpl
new file mode 100644 (file)
index 0000000..cb2fc4e
--- /dev/null
@@ -0,0 +1,87 @@
+# [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>
+       <tr>
+               <td>commit</td>
+               <td class="sha1">%hash%</td>
+       </tr>
+       <tr>
+               <td>tree</td>
+               <td class="sha1"><a class="list" href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">%tree_hash%</a></td>
+               <td class="link">
+                       <a href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">tree</a> | 
+                       <a title="in format: tar.gz" href="?p=%project%&a=snapshot&h=%hash%&sf=tgz">snapshot</a>
+               </td>
+       </tr>
+%parents%
+</table>
+</div>
+<div class="page_body">
+%full_message%<br/>
+</div>
+
+<div class="list_head">
+</div>
+<table class="diff_tree">
+%tree%
+</table>
+
+
+# [parent]
+       <tr>
+               <td>parent</td>
+               <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>
+               </td>
+       </tr>
+
+# [commit_refs]
+<span class="refs"> %refs%</span>
+
+# [commit_ref_head]
+<span class="head" title="heads/%name%">%name%</span>
+
+# [commit_ref_remote]
+<span class="remote" title="remotes/%name%">%name%</span>
+
+# [commit_ref_tag]
+<span class="tag" title="tags/%name%">%name%</span>
+
+# [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>
+</tr>