major design changes - almost there
[catagits/Gitalist.git] / root / _diff.tt2
old mode 100644 (file)
new mode 100755 (executable)
index 404de8b..4b217d2
@@ -1,14 +1,27 @@
 [% INCLUDE inc/syntax_highlight_css.tt2 %]
+
+<h2>Differences</h2>
+
+<div class="differences">
+
 [% FOREACH item IN diff %]
-<div class='diff-head'>
- diff --git [%# FIXME %]
- <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.a %]</a>
- <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.b %]</a>
+
+<h4 id="diff[% loop.count %]" class='diff-head'>diff --git [%# FIXME %]
+ <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]' title="Blob">[% item.a %]</a>
+ <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]' title="Blob">[% item.b %]</a>
+</h4>
+
+
+
+
+<div class='diff-patch'>
+       <pre>[% blobs.${loop.index} %]</pre>
 </div>
+
 <div class='diff-index'>
- [% item.index %]
-</div>
-<div class='diff-patch'>
- <pre>[% blobs.${loop.index} %]</pre>
+       [% item.index.replace("index","<b>Index</b>") %]
 </div>
+
 [% END %]
+
+</div>
\ No newline at end of file