+[%- SET object = commit || head -%]
<div class='actions'>
+ <div class="clear"></div>
+ <div class='grid_8'>
<!-- This should probably be a real LIst -->
<a href="[% c.uri_for_action('/repository/summary', [c.req.captures.0]) %]">summary</a> •
[% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %]
- <a href="[% c.uri_for_action('/' _ path _ '/shortlog', [c.req.captures]) %]">shortlog</a> •
- <a href="[% c.uri_for_action('/' _ path _ '/longlog', [c.req.captures]) %]">log</a>
+ <a href="[% c.uri_for_action('/' _ path _ '/shortlog', c.req.captures) %]">shortlog</a> •
+ <a href="[% c.uri_for_action('/' _ path _ '/longlog', c.req.captures) %]">log</a>
[% IF Commit %]
§
<a href="[% c.uri_for_action('/ref/commit', [c.req.captures.0, Commit.sha1]) %]">commit</a> •
<a href="[% c.uri_for_action('/ref/blob', [c.req.captures.0, Commit.sha1], filename) %]">blob</a> •
<a href="[% c.uri_for_action('/ref/raw', [c.req.captures.0, Commit.sha1], filename) %]">raw</a> •
<a href="[% c.uri_for_action('/ref/blame', [c.req.captures.0, Commit.sha1], filename) %]">blame</a> •
- <a href="[% c.uri_for_action('/ref/shortlog', [c.req.captures.0, Commit.sha1], filename) %]">history</a> •
+ <a href="[% c.uri_for_action('/ref/history', [c.req.captures.0, Commit.sha1], filename) %]">history</a> •
<a href="[% c.uri_for(c.controller.action_for('commit'), [c.req.captures.0, Repository.head_hash]) %]">HEAD</a>
[% END %]
- <div class='chroma-hash'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]</div>
+ </div>
+ <div class='grid_4'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]</div>
</div>