X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fsearch.tt2;h=2504b82934c5546412c8fc87bc2a1739104824fc;hb=28d48c6e7b0202a8e6a862a4ffeba61bf7055eb9;hp=1355fa6297301037b9fb548260c66cb23476d420;hpb=1fd8159c58e9f1f95533012890b80312e33edf32;p=catagits%2FGitalist.git diff --git a/root/search.tt2 b/root/search.tt2 index 1355fa6..2504b82 100644 --- a/root/search.tt2 +++ b/root/search.tt2 @@ -1,34 +1,35 @@ [% INCLUDE 'nav/actions.tt2' object = commit %] +
+ [%# INCLUDE '_log_pager.tt2' %] -[%# INCLUDE '_log_pager.tt2' %] + [%# XXX Nabbed the HTML below from gitweb's log action. %] + [% FOREACH result IN results %] +
+ + [% result.authored_time %] + [% short_cmt(result.comment) | html %] + +
-[%# XXX Nabbed the HTML below from gitweb's log action. %] -[% FOREACH result IN results %] -
- - [% result.authored_time %] - [% short_cmt(result.comment) | html %] - -
+
+ + [% result.author.name | html %] [% line.authored_time %] +
-
- - [% result.author.name | html %] [% line.authored_time %] -
+
+ [% + # XXX This is fragile at best. + html_comment = result.comment | html; + html_comment.replace( + c.req.param('text'), '' _ c.req.param('text') _ '' + ); + %] +
+ [% END %] -
- [% - # XXX This is fragile at best. - html_comment = result.comment | html; - html_comment.replace( - c.req.param('text'), '' _ c.req.param('text') _ '' - ); - %] + [%# INCLUDE '_log_pager.tt2' %]
-[% END %] - -[%# INCLUDE '_log_pager.tt2' %]