Hide article category if no article matches the search

This commit is contained in:
Julius 2013-09-24 21:21:08 +02:00
parent 9f083dd4d0
commit a87ced2646
3 changed files with 30 additions and 5 deletions

View file

@ -73,7 +73,7 @@
%th{style: "width:15px;"}= t '.sum'
%tbody.list
- @order.articles_grouped_by_category.each do |category, order_articles|
%tr.no-unlist.article-category
%tr.list-heading.article-category
%td
= category
%i.icon-tag