Fixed links in the wrapper template and added stubs for the next actions to be implem...
[catagits/Gitalist.git] / templates / _diff_tree.tt2
CommitLineData
9dc3b9a5 1<table class='diff-tree'>
2 <thead>
3 <tr>
4 <td>file</td>
5 <td>actions</td>
6 </tr>
7 </thead>
8 <tbody>
9 [% FOREACH line IN diff_tree %]
10 <tr>
11 <td class='filename'>[% line.src %]</td>
12 <td class='action-list'>
c73cd2ac 13 [% IF !line.is_new %]<a href="/blobdiff?p=[% project %];f=[% line.file %];h=[% commit.sha1 %];hp=[% commit.parent_sha1 %]">diff</a>[% END %]
9dc3b9a5 14 <a href="/blob?p=[% project %];f=[% line.file %];h=[% line.sha1 %];hb=[% commit.sha1 %]">blob</a>
63e220b9 15 [% IF !line.is_new %]<a href="/shortlog?p=[% project %];f=[% line.file %];hb=[% commit.sha1 %]">history</a>[% END %]
9dc3b9a5 16 </td>
17 </tr>
18 [% END %]
19 </tbody>
20 <tfoot>
21 <tr>
22 <td>file</td>
23 <td>actions</td>
24 </tr>
25 </tfoot>
26</table>