Starting to streamline and generally rejig the layout.
[catagits/Gitalist.git] / root / nav / actions.tt2
1 <div class='actions'>
2   <!-- This should probably be a real LIst -->
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;
7     <a href="[% c.uri_for('commitdiff', {h=object.sha1}) %]">commitdiff</a>
8     [% IF object.type == 'commit' %] &bull;
9     <a href="[% c.uri_for('tree', {h=object.tree_sha1, hb=object.sha1}) %]">tree</a>
10     [% END %]
11     [% IF filename %]
12     &sect;
13     <a href="[% c.uri_for('blob', {h=object.sha1,f=filename}) %]">blob</a> &bull;
14     <a href="[% c.uri_for('blob_plain', {h=object.sha1,f=filename}) %]">raw</a> &bull;
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;
17     <a href="[% c.uri_for(action, {f=filename}) %]">HEAD</a>
18     [% END %]
19     <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = object.sha1 %]</div>
20 </div>