Commit | Line | Data |
aebe9a0e |
1 | [%- SET object = commit || head -%] |
1fd8159c |
2 | <div class='actions'> |
aebe9a0e |
3 | <div class="clear"></div> |
4 | <div class='grid_8'> |
2cf1e781 |
5 | <!-- This should probably be a real LIst --> |
11808331 |
6 | <a href="[% c.uri_for_action('/repository/summary', [c.req.captures.0]) %]">summary</a> • |
b9423b8e |
7 | [% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %] |
a2a40af3 |
8 | <a href="[% c.uri_for_action('/' _ path _ '/shortlog', c.req.captures) %]">shortlog</a> • |
9 | <a href="[% c.uri_for_action('/' _ path _ '/longlog', c.req.captures) %]">log</a> |
11808331 |
10 | [% IF Commit %] |
b6ec181b |
11 | § |
2980657b |
12 | <a href="[% c.uri_for_action('/ref/commit', [c.req.captures.0, Commit.sha1]) %]">commit</a> • |
13 | <a href="[% c.uri_for_action('/ref/diff_fancy', [c.req.captures.0, Commit.sha1]) %]">commitdiff</a> • |
14 | <a href="[% c.uri_for_action('/ref/tree', [c.req.captures.0, Commit.sha1]) %]">tree</a> |
b254ff6b |
15 | [% END %] |
a21b62ea |
16 | [% IF filename && c.action != 'ref/tree' %] |
38a4951e |
17 | § |
2980657b |
18 | <a href="[% c.uri_for_action('/ref/blob', [c.req.captures.0, Commit.sha1], filename) %]">blob</a> • |
19 | <a href="[% c.uri_for_action('/ref/raw', [c.req.captures.0, Commit.sha1], filename) %]">raw</a> • |
20 | <a href="[% c.uri_for_action('/ref/blame', [c.req.captures.0, Commit.sha1], filename) %]">blame</a> • |
5254347b |
21 | <a href="[% c.uri_for_action('/ref/history', [c.req.captures.0, Commit.sha1], filename) %]">history</a> • |
11808331 |
22 | <a href="[% c.uri_for(c.controller.action_for('commit'), [c.req.captures.0, Repository.head_hash]) %]">HEAD</a> |
592b68ef |
23 | [% END %] |
aebe9a0e |
24 | </div> |
25 | <div class='grid_4'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]</div> |
61b56ed6 |
26 | </div> |