added commit difftree
[phpgitweb.git] / htdocs / templates / default / commit.tpl
1 # [main]
2 <div class="header">
3 <a class="title" href="?p=%project%&a=commitdiff&h=%hash%">%message% %refs%</a>
4 </div>
5 <div class="title_text">
6 <table class="object_header">
7         <tr>
8                 <td>author</td>
9                 <td>
10                         <a title="Search for commits authored by %author%" class="list" href="?p=%project%&a=search&h=%hash%&s=%author%&st=author">%author%</a> 
11                         <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>
12                 </td>
13                 <td rowspan="2"></td>
14         </tr>
15         <tr>
16                 <td></td>
17                 <td> %author_date% (%author_local_date% %author_timezone%)</td>
18         </tr>
19         <tr>
20                 <td>committer</td>
21                 <td>
22                         <a title="Search for commits committed by %committer%" class="list" href="?p=%project%&a=search&h=%hash%&s=pk910&st=committer">%committer%</a> 
23                         <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>
24                 </td>
25                 <td rowspan="2"></td>
26         </tr>
27         <tr>
28                 <td></td>
29                 <td> %committer_date% (%committer_local_date% %committer_timezone%)</td>
30         </tr>
31         <tr>
32                 <td>commit</td>
33                 <td class="sha1">%hash%</td>
34         </tr>
35         <tr>
36                 <td>tree</td>
37                 <td class="sha1"><a class="list" href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">%tree_hash%</a></td>
38                 <td class="link">
39                         <a href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">tree</a> | 
40                         <a title="in format: tar.gz" href="?p=%project%&a=snapshot&h=%hash%&sf=tgz">snapshot</a>
41                 </td>
42         </tr>
43 %parents%
44 </table>
45 </div>
46 <div class="page_body">
47 %full_message%<br/>
48 </div>
49
50 <div class="list_head">
51 </div>
52 %difftree%
53
54
55 # [parent]
56         <tr>
57                 <td>parent</td>
58                 <td class="sha1"><a class="list" href="?p=%project%&a=commit&h=%hash%">%hash%</a></td>
59                 <td class="link">
60                         <a href="?p=%project%&a=commit&h=%hash%">commit</a> | 
61                         <a href="?p=%project%&a=commitdiff&h=%head%;hp=%hash%">diff</a>
62                 </td>
63         </tr>
64
65 # [commit_refs]
66 <span class="refs"> %refs%</span>
67
68 # [commit_ref_head]
69 <span class="head" title="heads/%name%">%name%</span>
70
71 # [commit_ref_remote]
72 <span class="remote" title="remotes/%name%">%name%</span>
73
74 # [commit_ref_tag]
75 <span class="tag" title="tags/%name%">%name%</span>
76
77 # [difftree]
78 <table class="diff_tree%class%">
79 %tree%
80 </table>
81
82 # [tree]
83 <tr class="%class%">
84         <td>%file%</td>
85         <td>%specials%</td>
86         %merge%
87         <td class="link">%links%</td>
88 </tr>
89
90 # [tree_merge]
91         <td class="link%class%">%links%</td>
92 # [tree_merge_new]
93         <td class="link" align="right"> | </td>
94 # [tree_merge_blob]
95 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
96 # [tree_merge_history]
97 <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
98 # [tree_merge_diff]
99 <a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff%id%</a> | 
100 # [tree_merge_patch_link]
101         <td class="link"><a href="#%patch_marker%">patch</a> | </td>
102
103
104 # [tree_file_link]
105 <a class="list" href="?p=%project%&a=blob&h=%hash%&f=%file%">%file%</a>
106
107 # [tree_patch_link]
108 <a href="#%patch_marker%">patch</a> | 
109
110 # [tree_new]
111 <span class="file_status new">[new %type%]</span>
112
113 # [tree_new_file]
114 <span class="file_status new">[new %type% with mode: %mode%]</span>
115
116 # [tree_new_links]
117 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
118
119 # [tree_deleted]
120 <span class="file_status deleted">[deleted %type%]</span>
121
122 # [tree_deleted_links]
123 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
124
125 # [tree_changed]
126 <span class="file_status mode_chnge">[changed%changes%]</span>
127 # [tree_changed_type]
128  from %from% to %to%
129 # [tree_changed_mode]
130  mode: %from%->%to%
131 # [tree_changed_mode_to]
132  mode: %to%
133
134 # [tree_changed_links_diff]
135 <a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff</a> | 
136 # [tree_changed_links]
137 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
138
139 # [tree_moved]
140 <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>
141 # [tree_copied]
142 <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>
143 # [tree_moved_mode]
144 , mode: %mode%
145
146 # [tree_moved_links_diff]
147 <a href="?p=%project%&a=blobdiff&h=%hash%&f=src/mod-helpserv.c&hp=%parent%">diff</a> | 
148 # [tree_moved_links]
149 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>