diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/search/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index bf3951263..d4d671aa9 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -29,8 +29,8 @@ <h3><%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)</h3> <dl id="search-results"> <% @results.each do |e| %> - <dt class="<%= e.event_type %>"><%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(h(e.event_title), :length => 255), @tokens), e.event_url %></dt> - <dd><span class="description"><%= highlight_tokens(h(e.event_description), @tokens) %></span> + <dt class="<%= e.event_type %>"><%= 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 %></dt> + <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span> <span class="author"><%= format_time(e.event_datetime) %></span></dd> <% end %> </dl> |