fix - EMS Manage Events broken
Added new template variables for a link label and url that allows you to cancel registration and return to the EMS if you mistakenly tried to purchase something.
This commit is contained in:
parent
7ac7b2bc80
commit
3a8a832e63
4 changed files with 106 additions and 1 deletions
|
|
@ -930,7 +930,9 @@ sub getRegistrationInfo {
|
|||
$var{'form.updateProfile'} = WebGUI::Form::Checkbox($self->session,{name=>'updateProfile'});
|
||||
$var{isLoggedIn} = 1 if ($self->session->user->userId ne '1');
|
||||
$var{'form.email'} = WebGUI::Form::Email($self->session,{name=>'email'});
|
||||
$var{'registration'} = 1;
|
||||
$var{'registration'} = 1;
|
||||
$var{'cancelRegistration.url'} = $self->getUrl('func=resetScratchCart');
|
||||
$var{'cancelRegistration.url.label'} = $i18n->get('cancel registration');
|
||||
return \%var;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
package WebGUI::i18n::English::Asset_EventManagementSystem;
|
||||
|
||||
our $I18N = { ##hashref of hashes
|
||||
'cancel registration' => {
|
||||
message => q|Cancel Registration|,
|
||||
lastUpdated => 0,
|
||||
context => q|Label for hyperlink asking user if they wish to cancel the registration process during checkout.|,
|
||||
},
|
||||
|
||||
'search template' => {
|
||||
message => q|Search Template|,
|
||||
lastUpdated => 1131394070,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue