From 94315764fe3c1638cd6bce933bc0d0d200c58b3f Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 9 May 2006 04:09:49 +0000 Subject: [PATCH] help for edit discount pass --- .../Asset/Wobject/EventManagementSystem.pm | 2 + .../Help/Asset_EventManagementSystem.pm | 38 +++++++++++++++++++ .../English/Asset_EventManagementSystem.pm | 16 ++++++++ 3 files changed, 56 insertions(+) diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 006790c3a..3b103bdf8 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -3085,11 +3085,13 @@ sub www_editDiscountPass { $f->readOnly( name=>'nullPass', label=>$i18n->get('discount pass id'), + hoverHelp=>$i18n->get('discount pass id description'), value=>$passId ); $f->text( name=>'name', label=>$i18n->get("pass name"), + hoverHelp=>$i18n->get("pass name description"), value=>$data->{name} ); $f->radioList( diff --git a/lib/WebGUI/Help/Asset_EventManagementSystem.pm b/lib/WebGUI/Help/Asset_EventManagementSystem.pm index 3b684cea6..4e94c7362 100644 --- a/lib/WebGUI/Help/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/Help/Asset_EventManagementSystem.pm @@ -241,6 +241,44 @@ our $HELP = { ], }, + 'edit discount pass' => { + source => 'sub www_editDiscountPass', + title => 'edit discount pass', + body => 'edit discount pass body', + fields => [ + { + title => 'discount pass id', + description => 'discount pass id description', + namespace => 'Asset_EventManagementSystem', + }, + { + title => 'pass name', + description => 'pass name description', + namespace => 'Asset_EventManagementSystem', + }, + { + title => 'discount pass type', + description => 'discount pass type description', + namespace => 'Asset_EventManagementSystem', + }, + { + title => 'discount amount', + description => 'discount amount description', + namespace => 'Asset_EventManagementSystem', + }, + ], + related => [ + { + tag => 'event management system add/edit', + namespace => 'Asset_EventManagementSystem', + }, + { + tag => 'add/edit event', + namespace => 'Asset_EventManagementSystem', + }, + ], + }, + 'event management system template' => { source => 'sub view', title => 'template help title', diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm index b8e1bb5bf..de3d66850 100644 --- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm @@ -361,6 +361,12 @@ our $I18N = { ##hashref of hashes lastUpdated => 1147146318, }, + 'edit discount pass body' => { + message => q|

This screen allows you to create new discount passes that can be purchased, or to edit existing passes.

+|, + lastUpdated => 1147146318, + }, + 'null field error' => { message => q|The %s field cannot be blank.|, lastUpdated => 1138908251, @@ -1426,6 +1432,11 @@ normal templates.|, lastUpdated => 1147108858, }, + 'discount pass id description' => { + message => q|A unique identifier used internally for this discount pass. When a new discount pass is created, this will be the word "new".|, + lastUpdated => 1147108858, + }, + 'discount pass type' => { message => q|Discount Pass Type|, lastUpdated => 1147108858, @@ -1441,6 +1452,11 @@ normal templates.|, lastUpdated => 1147108858, }, + 'pass name description' => { + message => q|The name of your discount pass. This will be used in the system to refer to this pass and the discounts that it provides so be sure to pick a descriptive name. This field cannot be left blank.|, + lastUpdated => 1147108858, + }, + 'percent off' => { message => q|Percent Off|, lastUpdated => 1147108858,