X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=e4a90571d4244987ddd7afe0e73eacc42ad4dece;hb=b4384d547ff095b99eeb3004655bce43de51dbc5;hp=c03a4b2b0ac19a9ef86754fddf9dcf5d8f906329;hpb=c16d492b30f8f556f7d0730dc6f82699eef7cace;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]) %]