X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fnav%2Factions.tt2;h=7845ca9517b9ae5d473000210ebe632ae6df33e4;hb=c074d9b3b4491e96cab0db486f564b3d5d7d7899;hp=8f2293b17c877dc10dd16cba61bea4203c143952;hpb=0f40d2c0e064252c2ec2e3e87f05a5cdd928b0ba;p=catagits%2FGitalist.git diff --git a/root/nav/actions.tt2 b/root/nav/actions.tt2 index 8f2293b..7845ca9 100644 --- a/root/nav/actions.tt2 +++ b/root/nav/actions.tt2 @@ -1,8 +1,26 @@ -
- summary | - shortlog | - log | - commit | - commitdiff | - tree +[%- SET object = commit || head -%] +
+
+
+ + 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 && c.action != 'ref/tree' %] + § + blob • + raw • + blame • + history • + HEAD + [% END %] +
+
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]