X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2F_diff.tt2;h=11b4199f2c11fd758292fe0be79857a9f9329505;hb=5e26dc93f7d8f6b3a9df80f69b3cc5f3f477f8be;hp=8577bf6bdb58e00c725150cb9b31101bf8980c6c;hpb=ca06a1778cf7fcaf4650602e65f1a7e2a1129de9;p=catagits%2FGitalist.git diff --git a/root/_diff.tt2 b/root/_diff.tt2 old mode 100644 new mode 100755 index 8577bf6..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