X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=e4a90571d4244987ddd7afe0e73eacc42ad4dece;hb=eef1fb14f8acced2937e0f7f75fca40f51154036;hp=c03a4b2b0ac19a9ef86754fddf9dcf5d8f906329;hpb=a2f7ac376f640823c9e00785f72c6eae06329cb0;p=catagits%2FGitalist.git
diff --git a/root/wrapper.tt2 b/root/wrapper.tt2
index c03a4b2..e4a9057 100755
--- a/root/wrapper.tt2
+++ b/root/wrapper.tt2
@@ -63,9 +63,13 @@
Branches
@@ -82,11 +86,11 @@
/
[%- IF Repository %]
[%# FIXME: output branch name in a nicer way!!! #%]
- [% FOREACH branch_head IN Repository.heads %]
- [% IF c.req.path.search(branch_head.name) %]
+ [%- FOREACH branch_head IN Repository.heads %]
+ [%- IF c.req.path.search(branch_head.name) %]
[% branch_head.name %] /
- [% END %]
- [% END %]
+ [% END -%]
+ [% END -%]
[%- END %]
@@ -191,6 +195,7 @@
c.uri_for_action(cur_uri, [Repository.name, 'HEAD']);
END;
%]
+[% c.uri_for_action('/repository/heads', [Repository.name]) %]