mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Switching description to notes on shopping page
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%h5
|
||||
{{ product.name }}
|
||||
{{ product.supplier.name }}
|
||||
%td.notes {{ product.description | truncate:80 }}
|
||||
%td.notes {{ product.notes | truncate:80 }}
|
||||
|
||||
%td
|
||||
{{ product.master.options_text }}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
collection @products
|
||||
attributes :id, :name, :price, :permalink, :count_on_hand, :on_demand, :group_buy
|
||||
node do |product|
|
||||
{description: strip_tags(product.description)}
|
||||
{notes: strip_tags(product.notes),
|
||||
description: strip_tags(product.description)}
|
||||
end
|
||||
|
||||
child :supplier => :supplier do
|
||||
|
||||
Reference in New Issue
Block a user