added hash_base system (base refs gets stored in the _SESSION)
[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                 <td class="link">
35                         <a href="?p=%project%&a=shortlog&h=%hash%">shortlog</a> | <a href="?p=%project%&a=log&h=%hash%">log</a>
36                 </td>
37         </tr>
38         <tr>
39                 <td>tree</td>
40                 <td class="sha1"><a class="list" href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">%tree_hash%</a></td>
41                 <td class="link">
42                         <a href="?p=%project%&a=tree&h=%tree_hash%&hb=%hash%">tree</a> | 
43                         <a title="in format: tar.gz" href="?p=%project%&a=snapshot&h=%hash%&sf=tgz">snapshot</a>
44                 </td>
45         </tr>
46 %parents%
47 </table>
48 </div>
49 <div class="page_body">
50 %full_message%<br/>
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 <div class="list_head">
79 %tree_count%
80 </div>
81 <table class="diff_tree%class%">
82 %tree%
83 </table>
84
85 # [tree_count]
86 %count% files changed:
87
88 # [tree]
89 <tr class="%class%">
90         <td>%file%</td>
91         <td>%specials%</td>
92         %merge%
93         <td class="link">%links%</td>
94 </tr>
95
96 # [tree_merge]
97         <td class="link%class%">%links%</td>
98 # [tree_merge_new]
99         <td class="link" align="right"> | </td>
100 # [tree_merge_blob]
101 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
102 # [tree_merge_history]
103 <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
104 # [tree_merge_diff]
105 <a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff%id%</a> | 
106 # [tree_merge_patch_link]
107         <td class="link"><a href="#%patch_marker%">patch</a> | </td>
108
109
110 # [tree_file_link]
111 <a class="list" href="?p=%project%&a=blob&h=%hash%&f=%file%">%file%</a>
112
113 # [tree_patch_link]
114 <a href="#%patch_marker%">patch</a> | 
115
116 # [tree_new]
117 <span class="file_status new">[new %type%]</span>
118
119 # [tree_new_file]
120 <span class="file_status new">[new %type% with mode: %mode%]</span>
121
122 # [tree_new_links]
123 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a>
124
125 # [tree_deleted]
126 <span class="file_status deleted">[deleted %type%]</span>
127
128 # [tree_deleted_links]
129 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
130
131 # [tree_changed]
132 <span class="file_status mode_chnge">[changed%changes%]</span>
133 # [tree_changed_type]
134  from %from% to %to%
135 # [tree_changed_mode]
136  mode: %from%->%to%
137 # [tree_changed_mode_to]
138  mode: %to%
139
140 # [tree_changed_links_diff]
141 <a href="?p=%project%&a=blobdiff&h=%hash%&f=%file%&hp=%parent%">diff</a> | 
142 # [tree_changed_links]
143 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>
144
145 # [tree_moved]
146 <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>
147 # [tree_copied]
148 <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>
149 # [tree_moved_mode]
150 , mode: %mode%
151
152 # [tree_moved_links_diff]
153 <a href="?p=%project%&a=blobdiff&h=%hash%&f=src/mod-helpserv.c&hp=%parent%">diff</a> | 
154 # [tree_moved_links]
155 <a href="?p=%project%&a=blob&h=%hash%&f=%file%">blob</a> | <a href="?p=%project%&a=history&h=%hash%&f=%file%">history</a>