Provided support for blob_plain legacy URIs.
[catagits/Gitalist.git] / root / _diff.tt2
1 [% INCLUDE inc/syntax_highlight_css.tt2 %]
2 [% FOREACH item IN diff %]
3 <div class='diff-head'>
4  diff --git [%# FIXME %]
5  <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.a %]</a>
6  <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], 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 %]