0fe60b29638ce34e53638ea0c610223f557fc53c
[catagits/Gitalist.git] / root / nav / actions.tt2
1 <div class='actions'>
2     <a href="[% c.uri_for('summary') %]">summary</a> •
3     <a href="[% c.uri_for('shortlog', {h=object.sha1}) %]">shortlog</a> •
4     <a href="[% c.uri_for('log', {h=object.sha1}) %]">log</a> •
5     <a href="[% c.uri_for('commit', {h=object.sha1}) %]">commit</a> •
6     <a href="[% c.uri_for('commitdiff', {h=object.sha1}) %]">commitdiff</a>
7     [% IF object.type == 'commit' %] •
8     <a href="[% c.uri_for('tree', {h=object.tree_sha1, hb=object.sha1}) %]">tree</a>
9     [% END %]
10     [% IF filename %]
11     §
12     <a href="[% c.uri_for('blob', {h=object.sha1,f=filename}) %]">blob</a> •
13     <a href="[% c.uri_for('blame', {h=object.sha1,f=filename}) %]">blame</a> •
14     <a href="[% c.uri_for('shortlog', {h=object.sha1,f=filename}) %]">history</a> •
15     <a href="[% c.uri_for(action, {f=filename}) %]">HEAD</a>
16     [% END %]
17     <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]</div>
18 </div>