added missing MANIFEST.SKIP so file will not be installed
[catagits/Gitalist.git] / root / _diff.tt2
1 [% INCLUDE inc/syntax_highlight_css.tt2 %]
2
3 <h2>Differences</h2>
4
5 <div class="differences">
6
7 [% FOREACH item IN diff %]
8
9 <h4 id="diff[% loop.count %]" class='diff-head'>diff --git [%# FIXME %]
10  [% IF !item.src.match('^0+$') %]
11    <a href='[% c.uri_for_action("/ref/blob", [Repository.name, item.src]) %]' title="Blob">[% item.a %]</a>
12  [% ELSE %]
13    [% item.a %]
14  [% END %]
15  [% IF !item.dst.match('^0+$') %]
16  <a href='[% c.uri_for_action("/ref/blob", [Repository.name, item.dst]) %]' title="Blob">[% item.b %]</a>
17  [% ELSE %]
18    [% item.b %]
19  [% END %]
20 </h4>
21
22
23 <div class='diff-patch'>
24         <pre>[% blobs.${loop.index} %]</pre>
25 </div>
26
27 <div class='diff-index'>
28         [% item.index.replace("index","<b>Index</b>") %]
29 </div>
30
31 [% END %]
32
33 </div>