Make the log work for commits and symbolic refs also.
[catagits/Gitalist.git] / root / _diff.tt2
CommitLineData
04a4961e 1[% INCLUDE inc/syntax_highlight_css.tt2 %]
9dc3b9a5 2[% FOREACH item IN diff %]
3<div class='diff-head'>
cd196b66 4 diff --git [%# FIXME %]
2980657b 5 <a href='[% c.uri_for_action("//ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.a %][% item %]</a>
6 <a href='[% c.uri_for_action("//ref/blob", [Repository.name, Commit.sha1], 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 %]