X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fnav%2Factions.tt2;h=4ceab3686ae2f67f96098576920dfd0b5e417a16;hb=5254347b40f9de9e85f95d34afd2280f96b6fb16;hp=700a5a8acd47bef33ff7a8dfce7d117ea5cb2b27;hpb=741e110e967e9274df079d11d742c6c6b09144a1;p=catagits%2FGitalist.git diff --git a/root/nav/actions.tt2 b/root/nav/actions.tt2 index 700a5a8..4ceab36 100644 --- a/root/nav/actions.tt2 +++ b/root/nav/actions.tt2 @@ -1,18 +1,22 @@
- summary • - shortlog • - log • - commit • - commitdiff - [% IF object.type == 'commit' %] • - tree + + summary • + [% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %] + shortlog • + log + [% IF Commit %] + § + commit • + commitdiff • + tree [% END %] [% IF filename %] - § - blob • - blame • - history • - HEAD + § + blob • + raw • + blame • + history • + HEAD [% END %] -
[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]
+
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]