1 [% INCLUDE 'nav/actions.tt2' object = commit %]
3 [%# INCLUDE '_log_pager.tt2' %]
5 [%# XXX Nabbed the HTML below from gitweb's log action. %]
6 [% FOREACH result IN results %]
8 <a class="title" href="[% c.uri_for('commit', {h=result.sha1}) %]">
9 <span class="age">[% result.authored_time %]</span>
10 [% short_cmt(result.comment) | html %]
14 <div class="title_text">
15 <div class="log_link">
16 <a href="[% c.uri_for("", {h=result.sha1}) %]">commit</a>
17 | <a href="[% c.uri_for("", {h=result.sha1}) %]">commitdiff</a>
18 | <a href="[% c.uri_for("", {h=result.tree_sha1, hb=line.sha1}) %]">tree</a>
20 <i>[% result.author.name | html %] [% line.authored_time %]</i>
23 <div class="log_body">
25 # XXX This is fragile at best.
26 html_comment = result.comment | html;
28 c.req.param('text'), '<span class="match">' _ c.req.param('text') _ '</span>'
34 [%# INCLUDE '_log_pager.tt2' %]