Move all the templates back into the 'root' directory, otherwise make install will...
[catagits/Gitalist.git] / root / _diff.tt2
1 <link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
2 [% FOREACH item IN diff %]
3 <div class='diff-head'>
4  diff --git
5  <a href='[% c.uri_for("blob", {h=item.src, f=item.file}) %]'>[% item.a %]</a>
6  <a href='[% c.uri_for("blob", {h=item.dst, f=item.file}) %]'>[% item.b %]</a>
7 </div>
8 <div class='diff-index'>
9  [% item.index %]
10 </div>
11 <div class='diff-patch'>
12  <pre>[% blobs.${loop.index} %]</pre>
13 </div>
14 [% END %]