diff --git a/lib/WebGUI/Help/Asset_Subscription.pm b/lib/WebGUI/Help/Asset_Subscription.pm new file mode 100644 index 000000000..8ec932110 --- /dev/null +++ b/lib/WebGUI/Help/Asset_Subscription.pm @@ -0,0 +1,35 @@ +package WebGUI::Help::Asset_Subscription; + +use strict; + + +our $HELP = { + 'template' => { + + title => 'subscription template', + body => '', + isa => [ + { + tag => 'sku properties', + namespace => 'Asset_Sku', + }, + ], + fields => [ + ], + variables => [ + { name => 'formHeader' , required=>1}, + { name => 'formFooter' , required=>1 }, + { name => 'purchaseButton' , required=>1 }, + { name => 'hasAddedToCart' , required=>1 }, + { name => 'codeControls' , required=>1 }, + { name => 'thankYouMessage', description=>'thank you message help' }, + { name => 'redeemCodeLabel' , required=>1 }, + { name => 'redeemCodeUrl' , required=>1 }, + ], + related => [ + ], + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset_Subscription.pm b/lib/WebGUI/i18n/English/Asset_Subscription.pm index d45099f79..fc254ca88 100755 --- a/lib/WebGUI/i18n/English/Asset_Subscription.pm +++ b/lib/WebGUI/i18n/English/Asset_Subscription.pm @@ -412,6 +412,54 @@ The form in which the user can enter his subscription code.
|, context => q|help for the thank you message field|, }, + 'subscription template' => { + message => q|Subscription Template|, + lastUpdated => 0, + context => q|Title for the subscription template help page|, + }, + + 'formHeader' => { + message => q|The top of the subscription form.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'formFooter' => { + message => q|The bottom of the subscription form.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'purchaseButton' => { + message => q|The button for the subscription form.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'hasAddedToCart' => { + message => q|A condition indicating that the user has added the subscription to their cart, so we can display the thank you message.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'codeControls' => { + message => q|A series of links for creating subscription code batches and listing subscription codes and code batches.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'redeemCodeLabel' => { + message => q|An internationalized label for the link to redeem a subscription code.|, + lastUpdated => 0, + context => q|template variable| + }, + + 'redeemCodeUrl' => { + message => q|The URL to redeem a subscription code.|, + lastUpdated => 0, + context => q|template variable| + }, + }; 1;