X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2F_diff.tt2;h=11b4199f2c11fd758292fe0be79857a9f9329505;hb=ca5cfe83ce7641811fa4befb2905d1e62afbc845;hp=b3062eb70cfa76fc7f8b0d4ff6a9036b2ddbce33;hpb=04a4961e76baff9e9e6ceafec23934b652f43375;p=catagits%2FGitalist.git diff --git a/root/_diff.tt2 b/root/_diff.tt2 old mode 100644 new mode 100755 index b3062eb..11b4199 --- a/root/_diff.tt2 +++ b/root/_diff.tt2 @@ -1,14 +1,33 @@ [% INCLUDE inc/syntax_highlight_css.tt2 %] + +

Differences

+ +
+ [% FOREACH item IN diff %] -
- diff --git - [% item.a %] - [% item.b %] + +

diff --git [%# FIXME %] + [% IF !item.src.match('^0+$') %] + [% item.a %] + [% ELSE %] + [% item.a %] + [% END %] + [% IF !item.dst.match('^0+$') %] + [% item.b %] + [% ELSE %] + [% item.b %] + [% END %] +

+ + +
+
[% blobs.${loop.index} %]
+
- [% item.index %] -
-
-
[% blobs.${loop.index} %]
+ [% item.index.replace("index","Index") %]
+ [% END %] + +
\ No newline at end of file