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