X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=e4a90571d4244987ddd7afe0e73eacc42ad4dece;hb=91b8538e121dcb3f9326cc8c59f9b178f640bc48;hp=ad3bb5c17bf9bbdb28f7631835fc91b78d563032;hpb=d5fd80f5284cdbedd53db508c619924913775f2b;p=catagits%2FGitalist.git diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 index ad3bb5c..e4a9057 100755 --- a/root/wrapper.tt2 +++ b/root/wrapper.tt2 @@ -1,7 +1,6 @@ [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%] - - + + @@ -21,7 +20,7 @@ - + @@ -64,9 +63,13 @@ Branches @@ -78,16 +81,16 @@ Home [%- IF Repository %] - / [% Repository.name %] + / [% Repository.name %] [%- END %] / [%- 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 %] @@ -192,6 +195,7 @@ c.uri_for_action(cur_uri, [Repository.name, 'HEAD']); END; %] +[% c.uri_for_action('/repository/heads', [Repository.name]) %]