diff --git a/lib/WebGUI/Help/Asset_Shelf.pm b/lib/WebGUI/Help/Asset_Shelf.pm index 3cb818b23..7232b6cfb 100644 --- a/lib/WebGUI/Help/Asset_Shelf.pm +++ b/lib/WebGUI/Help/Asset_Shelf.pm @@ -19,7 +19,13 @@ our $HELP = { fields => [ ], variables => [ - { name => "shelves" , required=>1}, + { name => "shelves" , required=>1, variables => [ + { name => "title", + description => 'shelf_title', }, + { name => "url", + description => 'shelf_url', }, + ], + }, { name => "products" , required=>1, variables => [ { name => "url", description => 'product_url', }, diff --git a/lib/WebGUI/i18n/English/Asset_Shelf.pm b/lib/WebGUI/i18n/English/Asset_Shelf.pm index 5538cdf8d..c2313fa64 100644 --- a/lib/WebGUI/i18n/English/Asset_Shelf.pm +++ b/lib/WebGUI/i18n/English/Asset_Shelf.pm @@ -51,6 +51,18 @@ our $I18N = { context => q|a template variable|, }, + 'shelf_title' => { + message => q|The title of this shelf|, + lastUpdated => 0, + context => q|a template variable|, + }, + + 'shelf_url' => { + message => q|The url of this shelf|, + lastUpdated => 0, + context => q|a template variable|, + }, + 'products' => { message => q|A loop containing the list of products that match the keywords specified in this shelf, or that are children of this shelf. Only products that the user can see will be in the loop. Each record in the loop contains all the properties of the matching sku, plus the following variables.|, lastUpdated => 1247603018,