mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Display variant name only when set
The previous method was falling back to the product name which is displayed already.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.variants.row
|
||||
.small-3.medium-4.large-6.columns.variant-name
|
||||
.inline {{ ::variant.name_to_display }}
|
||||
.inline {{ ::variant.display_name }}
|
||||
.variant-unit {{ ::variant.unit_to_display }}
|
||||
.bulk-buy.inline{"ng-if" => "::variant.product.group_buy"}
|
||||
%i.ofn-i_056-bulk><
|
||||
|
||||
Reference in New Issue
Block a user