summaryrefslogtreecommitdiffstats
path: root/app/views/search
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 08:26:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 08:26:58 +0000
commit7ee5e95f1432153008813484e075d7dce238be5f (patch)
tree3be2bc239df17a6b534f40f52aaf425158006c9f /app/views/search
parentc7505aa76b3afc12adab4fc38987138349b7ab83 (diff)
downloadredmine-7ee5e95f1432153008813484e075d7dce238be5f.tar.gz
redmine-7ee5e95f1432153008813484e075d7dce238be5f.zip
Use the regular "icon icon-*" on search results (#24313).
git-svn-id: http://svn.redmine.org/redmine/trunk@15977 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb
index 53ec17a63..1e80d57a7 100644
--- a/app/views/search/index.html.erb
+++ b/app/views/search/index.html.erb
@@ -42,7 +42,7 @@
<h3><%= l(:label_result_plural) %> (<%= @result_count %>)</h3>
<dl id="search-results">
<% @results.each do |e| %>
- <dt class="<%= e.event_type %>">
+ <dt class="<%= e.event_type %> icon icon-<%= e.event_type %>">
<%= content_tag('span', e.project, :class => 'project') unless @project == e.project %>
<%= link_to(highlight_tokens(e.event_title.truncate(255), @tokens), e.event_url) %>
</dt>