Gave ownership of URLs to Gitalist proper.
[catagits/Gitalist.git] / templates / _diff_tree.tt2
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'>
13      [% IF !line.is_new %]<a href="/blobdiff?p=[% project %];f=[% line.file %];h=[% line.sha1dst %];hp=[% sha1src %]">diff</a>[% END %]
14      <a href="/blob?p=[% project %];f=[% line.file %];h=[% line.sha1 %];hb=[% commit.sha1 %]">blob</a>
15      [% IF !line.is_new %]<a href="/log?p=[% project %];f=[% line.file %];hb=[% commit.sha1 %]">history</a>[% END %]
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>