2 [%# XXX Nabbed the HTML below from gitweb's log action. %]
3 [% FOREACH result IN results %]
5 <a class="title" href="[% c.uri_for_action('/ref/commit', [ Repository.name, result.sha1 ]) %]">
6 <span class="age">[% result.authored_time %]</span>
7 [% short_cmt(result.comment) | html %]
11 <div class="title_text">
12 <div class="log_link">
13 <a href="[% c.uri_for_action('/ref/commit', [Repository.name, result.sha1]) %]">commit</a>
14 | <a href="[% c.uri_for_action('/ref/diff_fancy', [Repository.name, result.sha1]) %]">commitdiff</a>
15 | <a href="[% c.uri_for_action('/ref/tree', [Repository.name, result.tree_sha1]); %][%# hb=line.sha1 %]">tree</a>
17 <i>[% result.author.name | html %] [% line.authored_time %]</i>
20 <div class="log_body">
22 # XXX This is fragile at best.
23 html_comment = result.comment | html;
25 c.req.param('text'), '<span class="match">' _ c.req.param('text') _ '</span>'