X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fnav%2Factions.tt2;h=4ceab3686ae2f67f96098576920dfd0b5e417a16;hb=5254347b40f9de9e85f95d34afd2280f96b6fb16;hp=63da65a7e68a042b58648efa3d4f6a7251e18aba;hpb=1fd8159c58e9f1f95533012890b80312e33edf32;p=catagits%2FGitalist.git diff --git a/root/nav/actions.tt2 b/root/nav/actions.tt2 index 63da65a..4ceab36 100644 --- a/root/nav/actions.tt2 +++ b/root/nav/actions.tt2 @@ -1,9 +1,22 @@
- summary • - shortlog • - log • - commit • - commitdiff • - tree -
[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]
+ + 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 • + raw • + blame • + history • + HEAD + [% END %] +
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]