mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Hide description paragraph if product has no description
Improves the appearance of the layout when no description is present
This commit is contained in:
committed by
Maikel Linke
parent
9da91576ac
commit
a89c81a033
@@ -7,7 +7,7 @@
|
||||
%h3
|
||||
%a{"ng-click" => "triggerProductModal()", href: 'javascript:void(0)'}
|
||||
%span{"ng-bind" => "::product.name"}
|
||||
%p.product-description{ng: {bind: "::product.description", click: "triggerProductModal()"}}
|
||||
%p.product-description{ng: {bind: "::product.description", click: "triggerProductModal()", show: "product.description.length"}}
|
||||
.product-producer
|
||||
= t :products_from
|
||||
%span
|
||||
|
||||
Reference in New Issue
Block a user