1 [% INCLUDE 'nav/actions.tt2' object = commit %]
3 [%# XXX Nabbed the HTML below from gitweb's log action. %]
4 [% FOREACH result IN results %]
6 <a class="title" href="[% c.uri_for_action('/ref/commit', [ Repository.name, result.sha1 ]) %]">
7 <span class="age">[% result.authored_time %]</span>
8 [% short_cmt(result.comment) | html %]
12 <div class="title_text">
13 <div class="log_link">
14 <a href="[% c.uri_for_action('/ref/commit', [Repository.name, result.sha1]) %]">commit</a>
15 | <a href="[% c.uri_for_action('/ref/diff_fancy', [Repository.name, result.sha1]) %]">commitdiff</a>
16 | <a href="[% c.uri_for_action('/ref/tree', [Repository.name, result.tree_sha1]); %][%# hb=line.sha1 %]">tree</a>
18 <i>[% result.author.name | html %] [% line.authored_time %]</i>
21 <div class="log_body">
23 # XXX This is fragile at best.
24 html_comment = result.comment | html;
26 c.req.param('text'), '<span class="match">' _ c.req.param('text') _ '</span>'