Commit b36676ddb5ae337898f5fbd61474309788317477
1 parent
7680f2d5
Exists in
master
and in
29 other branches
ActionItem862: fixing product category for disabled enterprises
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/catalog_helper.rb
... | ... | @@ -11,7 +11,7 @@ include DisplayHelper |
11 | 11 | content_tag('h3', link_to_product(product)) + |
12 | 12 | content_tag('ul', |
13 | 13 | (product.price ? content_tag('li', _('Price: %s') % ( "%.2f" % product.price), :class => 'product_price') : '') + |
14 | - content_tag('li', profile.enabled? ? link_to_category(product.product_category) : product.product_category, :class => 'product_category') | |
14 | + content_tag('li', profile.enabled? ? link_to_category(product.product_category) : product.product_category.full_name(' → ') , :class => 'product_category') | |
15 | 15 | ) + |
16 | 16 | (product.description ? content_tag('div', txt2html(product.description), :class => 'description') : tag('br', :style => 'clear:both')), |
17 | 17 | :class => 'product') | ... | ... |