Starting to hook up "orphaned" actions.
[catagits/Gitalist.git] / root / nav / actions.tt2
index 4e647b2..0fe60b2 100644 (file)
@@ -7,5 +7,12 @@
     [% IF object.type == 'commit' %] •
     <a href="[% c.uri_for('tree', {h=object.tree_sha1, hb=object.sha1}) %]">tree</a>
     [% END %]
+    [% IF filename %]
+    §
+    <a href="[% c.uri_for('blob', {h=object.sha1,f=filename}) %]">blob</a> •
+    <a href="[% c.uri_for('blame', {h=object.sha1,f=filename}) %]">blame</a> •
+    <a href="[% c.uri_for('shortlog', {h=object.sha1,f=filename}) %]">history</a> •
+    <a href="[% c.uri_for(action, {f=filename}) %]">HEAD</a>
+    [% END %]
     <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]</div>
 </div>