Add log action for commits
[catagits/Gitalist.git] / root / nav / actions.tt2
CommitLineData
1fd8159c 1<div class='actions'>
2cf1e781 2 <!-- This should probably be a real LIst -->
11808331 3 <a href="[% c.uri_for_action('/repository/summary', [c.req.captures.0]) %]">summary</a> &bull;
4 <a href="[% c.uri_for_action('/repository/shortlog', [c.req.captures.0]) %]">shortlog</a> &bull;
b6ec181b 5 <a href="[% c.uri_for_action('/repository/log', [c.req.captures.0]) %]">log</a>
11808331 6 [% IF Commit %]
b6ec181b 7 &sect;
11808331 8 <a href="[% c.uri_for_action('/commit/commit', [c.req.captures.0, Commit.sha1]) %]">commit</a> &bull;
9 <a href="[% c.uri_for_action('/commit/diff_fancy', [c.req.captures.0, Commit.sha1]) %]">commitdiff</a> &bull;
10 <a href="[% c.uri_for_action('/commit/tree', [c.req.captures.0, Commit.sha1]) %]">tree</a>
b254ff6b 11 [% END %]
592b68ef 12 [% IF filename %]
38a4951e 13 &sect;
b6ec181b 14 <a href="[% c.uri_for_action('/commit/blob', [c.req.captures.0, Commit.sha1], filename) %]">blob</a> &bull;
ca06a177 15 <a href="[% c.uri_for_action('/commit/raw', [c.req.captures.0, Commit.sha1], filename) %]">raw</a> &bull;
b6ec181b 16 <a href="[% c.uri_for_action('/commit/blame', [c.req.captures.0, Commit.sha1], filename) %]">blame</a> &bull;
17 <a href="[% c.uri_for_action('/commit/shortlog', [c.req.captures.0, Commit.sha1], filename) %]">history</a> &bull;
11808331 18 <a href="[% c.uri_for(c.controller.action_for('commit'), [c.req.captures.0, Repository.head_hash]) %]">HEAD</a>
592b68ef 19 [% END %]
7e8a7295 20 <div class='chroma-hash'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = object.sha1 %]</div>
61b56ed6 21</div>