X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=e4a90571d4244987ddd7afe0e73eacc42ad4dece;hb=b7b5f98eaa67e9968382a34934e64a2330ea4d23;hp=1e35105c63eafdca701233ba33c1e8764684ddca;hpb=179b688801d87f11641ea537f8f5be47987f3635;p=catagits%2FGitalist.git diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 index 1e35105..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]) %]