Commit 285463b5f78174186c7c06558a472268f7ddc0e3
1 parent
0999076c
Exists in
master
and in
29 other branches
ActionItem567: using the right icon for articles
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2293 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
3 changed files
with
4 additions
and
2 deletions
Show diff stats
app/views/search/_article.rhtml
app/views/search/_display_results.rhtml
... | ... | @@ -30,7 +30,8 @@ |
30 | 30 | <% hit_pos = 0 %> |
31 | 31 | <% results.each do |hit| %> |
32 | 32 | <% next if hit.respond_to?(:public_profile) && !hit.public_profile %> |
33 | - <%= render :partial => partial, | |
33 | + <%= render :partial => partial_for_class(hit.class), | |
34 | + | |
34 | 35 | :object => hit, |
35 | 36 | :locals => { :pos => ( hit_pos += 1 ) } %> |
36 | 37 | <% end %> | ... | ... |
public/stylesheets/controller_search.css
... | ... | @@ -167,7 +167,7 @@ |
167 | 167 | } |
168 | 168 | |
169 | 169 | #content .search-results-type-article ul, |
170 | -#content .search-results-type-article ul, | |
170 | +#content .search-results-type-article li, | |
171 | 171 | #content .search-results-type-event ul, |
172 | 172 | #content .search-results-type-event li { |
173 | 173 | margin: 0px; | ... | ... |