more design changes
[catagits/Gitalist.git] / root / _diff.tt2
index a2c93df..404de8b 100644 (file)
@@ -1,9 +1,9 @@
-<link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
+[% INCLUDE inc/syntax_highlight_css.tt2 %]
 [% FOREACH item IN diff %]
 <div class='diff-head'>
- diff --git
- <a href='[% c.uri_for("blob", {h=item.src, f=item.file}) %]'>[% item.a %]</a>
- <a href='[% c.uri_for("blob", {h=item.dst, f=item.file}) %]'>[% item.b %]</a>
+ 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>
 </div>
 <div class='diff-index'>
  [% item.index %]