From fb1055eb3f741a1c5b51060987b89c2a7bdcc554 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 5 Feb 2014 08:54:12 +0000 Subject: [PATCH] code format clean up app/views/search/index.html.erb git-svn-id: http://svn.redmine.org/redmine/trunk@12814 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/search/index.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index ffa0b483f..509663bca 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -23,13 +23,15 @@ <% if @results %>
- <%= render_results_by_type(@results_by_type) unless @scope.size == 1 %> + <%= render_results_by_type(@results_by_type) unless @scope.size == 1 %>
-

<%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)

<% @results.each do |e| %> -
<%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(e.event_title, :length => 255), @tokens), e.event_url %>
+
+ <%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> + <%= link_to(highlight_tokens(truncate(e.event_title, :length => 255), @tokens), e.event_url) %> +
<%= highlight_tokens(e.event_description, @tokens) %> <%= format_time(e.event_datetime) %>
<% end %> -- 2.39.5