Skip to content

Commit

Permalink
show hidden products in search results, with icon (fixes #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 17, 2016
1 parent e08779a commit 4c46c66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rawbotz/views/products/search_results.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
- @products.each do |product|
%li
= highlight(product_link(product), @term)
- if product.hidden? || !product.active?
( hidden
%i.fa.fa-ban
)

0 comments on commit 4c46c66

Please sign in to comment.