Template cleanups. Move _template to inc/template, remove currently spurious includes...
[catagits/Gitalist.git] / root / nav / actions.tt2
CommitLineData
1fd8159c 1<div class='actions'>
2cf1e781 2 <!-- This should probably be a real LIst -->
741e110e 3 <a href="[% c.uri_for('summary') %]">summary</a> &bull;
4 <a href="[% c.uri_for('shortlog', {h=object.sha1}) %]">shortlog</a> &bull;
5 <a href="[% c.uri_for('log', {h=object.sha1}) %]">log</a> &bull;
6 <a href="[% c.uri_for('commit', {h=object.sha1}) %]">commit</a> &bull;
f796a861 7 <a href="[% c.uri_for('commitdiff', {h=object.sha1}) %]">commitdiff</a>
741e110e 8 [% IF object.type == 'commit' %] &bull;
61b56ed6 9 <a href="[% c.uri_for('tree', {h=object.tree_sha1, hb=object.sha1}) %]">tree</a>
b254ff6b 10 [% END %]
592b68ef 11 [% IF filename %]
38a4951e 12 &sect;
741e110e 13 <a href="[% c.uri_for('blob', {h=object.sha1,f=filename}) %]">blob</a> &bull;
b5f3d3e7 14 <a href="[% c.uri_for('blob_plain', {h=object.sha1,f=filename}) %]">raw</a> &bull;
741e110e 15 <a href="[% c.uri_for('blame', {h=object.sha1,f=filename}) %]">blame</a> &bull;
16 <a href="[% c.uri_for('shortlog', {h=object.sha1,f=filename}) %]">history</a> &bull;
592b68ef 17 <a href="[% c.uri_for(action, {f=filename}) %]">HEAD</a>
18 [% END %]
7e8a7295 19 <div class='chroma-hash'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]</div>
61b56ed6 20</div>