[% 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 %][% item %]</a>
- <a href='[% c.uri_for_action("//ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.b %]</a>
+ <a href='[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], item.file) %]'>[% item.a %][% item %]</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 %]
%]
</td>
<td class='action-list'>
- [% IF !line.is_new %]<a href="[% c.uri_for_action("//ref/diff", [Repository.name, Commit.sha1], line.file.to_path) %]">diff</a>[% END %]
- <a href="[% c.uri_for_action("//ref/blob", [Repository.name, Commit.sha1], line.file.to_path) %]">blob</a>
- [% IF !line.is_new %]<a href="[% c.uri_for("//ref/shortlog", [Repository.name, Commit.sha1], line.file.to_path) %]">history</a>[% END %]
+ [% IF !line.is_new %]<a href="[% c.uri_for_action("/ref/diff", [Repository.name, Commit.sha1], line.file.to_path) %]">diff</a>[% END %]
+ <a href="[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], line.file.to_path) %]">blob</a>
+ [% IF !line.is_new %]<a href="[% c.uri_for("/ref/shortlog", [Repository.name, Commit.sha1], line.file.to_path) %]">history</a>[% END %]
</td>
</tr>
[% END %]