Started on making everything a bit less bleh.
[catagits/Gitalist.git] / templates / _diff.tt2
CommitLineData
f5da8e7a 1<link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
9dc3b9a5 2[% FOREACH item IN diff %]
3<div class='diff-head'>
4 diff --git
f71a83ab 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>
9dc3b9a5 7</div>
8<div class='diff-index'>
9 [% item.index %]
10</div>
11<div class='diff-patch'>
f5da8e7a 12 <pre>[% blobs.${loop.index} %]</pre>
9dc3b9a5 13</div>
14[% END %]