Added /project_index action.
[catagits/Gitalist.git] / root / nav / actions.tt2
CommitLineData
1fd8159c 1<div class='actions'>
741e110e 2 <a href="[% c.uri_for('summary') %]">summary</a> &bull;
3 <a href="[% c.uri_for('shortlog', {h=object.sha1}) %]">shortlog</a> &bull;
4 <a href="[% c.uri_for('log', {h=object.sha1}) %]">log</a> &bull;
5 <a href="[% c.uri_for('commit', {h=object.sha1}) %]">commit</a> &bull;
f796a861 6 <a href="[% c.uri_for('commitdiff', {h=object.sha1}) %]">commitdiff</a>
741e110e 7 [% IF object.type == 'commit' %] &bull;
61b56ed6 8 <a href="[% c.uri_for('tree', {h=object.tree_sha1, hb=object.sha1}) %]">tree</a>
b254ff6b 9 [% END %]
592b68ef 10 [% IF filename %]
38a4951e 11 &sect;
741e110e 12 <a href="[% c.uri_for('blob', {h=object.sha1,f=filename}) %]">blob</a> &bull;
13 <a href="[% c.uri_for('blame', {h=object.sha1,f=filename}) %]">blame</a> &bull;
14 <a href="[% c.uri_for('shortlog', {h=object.sha1,f=filename}) %]">history</a> &bull;
592b68ef 15 <a href="[% c.uri_for(action, {f=filename}) %]">HEAD</a>
16 [% END %]
1fd8159c 17 <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]</div>
61b56ed6 18</div>