diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index d9e36cec9..ca9f518b2 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -2703,6 +2703,7 @@ sub www_search { $var{'events_loop'} = \@events; $p->setAlphabeticalKey('title'); $var{'paginateBar'} = $p->getBarTraditional; + $p->appendTemplateVars(\%var); $var{'manageEvents.url'} = $self->getUrl('func=search'); $var{'manageEvents.label'} = $i18n->get('manage events'); $var{'managePurchases.url'} = $self->getUrl('func=managePurchases') if $self->session->var->get('userId') ne '1'; @@ -2754,7 +2755,6 @@ sub www_search { $var{'seats.label'} = $i18n->get("seats available"); $var{'addToBadgeMessage'} = $addToBadgeMessage; - $p->appendTemplateVars(\%var); $self->buildMenu(\%var); $var{'ems.wobject.dir'} = $self->session->url->extras("wobject/EventManagementSystem"); diff --git a/lib/WebGUI/Help/Asset_EventManagementSystem.pm b/lib/WebGUI/Help/Asset_EventManagementSystem.pm index 444b56969..ba8aaa948 100644 --- a/lib/WebGUI/Help/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/Help/Asset_EventManagementSystem.pm @@ -173,6 +173,7 @@ our $HELP = { }, 'event management system event template' => { + source => 'sub www_editEvent', title => 'event template help title', body => 'event template help body', fields => [ @@ -194,6 +195,7 @@ our $HELP = { }, 'ems manage purchases template' => { + source => 'sub www_managePurchases', title => 'manage purchases template help title', body => 'manage purchases template help body', fields => [ @@ -211,6 +213,7 @@ our $HELP = { }, 'ems view purchase template' => { + source => 'sub www_viewPurchases', title => 'view purchase template help title', body => 'view purchase template help body', fields => [ @@ -229,6 +232,7 @@ our $HELP = { 'ems search template' => { + source => 'sub www_search', title => 'search template help title', body => 'search template help body', fields => [ diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm index ab9f39aad..78d653518 100644 --- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm @@ -585,17 +585,27 @@ the users and admins can view or edit a purchase.

EMS Asset variables.

purchasesLoop
-This loop contains all events that are included in this purchase. +This loop contains all registrations that are included in this purchase. +

+ +
+ +

regLoop
+This loop contains all events that are included in this registration.

startDateHuman
-This event's start date and time in a human readable format. +The start date in a human readable format for this event. +

+ +

startDateHuman
+The start date in a human readable format for this event.

endDateHuman
-This event's end date and time in a human readable format. +The end date in a human readable format for this event.

startDate
@@ -642,30 +652,51 @@ The template used to style this event if it is to be displayed. The number of people allowed to attend this event.

+

userId
+The Id of the user set to use this badge. +

+ +

createdByUserId
+The Id of the user who created this badge. +

+
+

canReturnItinerary
+A boolean indicating whether or not this event can be returned. +

+ +

canAddEvents
+A boolean indicating whether or not the current user is allowed to add events. Admins, the owner +of the transaction, the user who created the registration or the user who the registration is +for are allowed to add events. +

+ +
+ +

canReturnTransaction
+A boolean that is true if any purchase can be returned. +

+

viewPurchaseTitle
An internationalized label to title this screen.

canReturn
-A boolean indicating if the current user may return events in the purchase. +A boolean indicating if the current user may return events in the purchase. Users who can add events +fall into this group.

transactionId
The unique identifier for this transaction in the database.

-

canAddEvents
-A boolean indicating if the current user can add events to this purchase. -

-

appUrl
A URL back to the main screen of the Asset.

|, - lastUpdated => 1145465299, + lastUpdated => 1147060455, }, 'search template help title' => { @@ -678,6 +709,10 @@ A URL back to the main screen of the Asset.

This template is used to style the screen of the Event Management System where the users and admins can view or edit a purchase.

+

calendarJS
+Script tag to set up the javascript calendar picker. +

+

basicSearch.formHeader
Form header for a basic search.

@@ -720,6 +755,18 @@ The description of this event. The price of this event.

+

sku
+The SKU for this event. +

+ +

sku template
+The SKU templates used to generate the SKU for this event. +

+ +

weight
+The weight associated with materials for this event. +

+

numberRegistered
The number of people currently registered for this event.

@@ -736,14 +783,34 @@ The number of available seats remaining for this event. The date and time this event starts, in human readable format.

+

startDate
+The date and time this event starts, in epoch format. +

+

endDate.human
The date and time this event ends, in human readable format.

+

endDate
+The date and time this event ends, in epoch format. +

+ +

productId
+The unique identifier for this product. +

+

eventIsFull
A boolean that is true if the there are no available seats remaining in this event.

+

eventIsApproved
+A boolean that is true if this event has been approved. +

+ +

manageToolbar
+Code for an toolbar with icons to delete, edit and reorder events. +

+

purchase.label
An internationalized label to display to the user the link for purchasing this event. If the event is full, the label will be "Sold out". @@ -756,14 +823,6 @@ If the event is full, the url will be blank. -

checkout.url
-A URL to take the user the screen that displays the contents of their shopping cart. -

- -

checkout.label
-A label to go with checkout.url. The internationalized word "Checkout". -

-

paginateBar
A bar to help the user page through sets of Events if several pages of Events exist.

@@ -772,10 +831,6 @@ A bar to help the user page through sets of Events if several pages of Events ex Common pagination template variables.

-

canManageEvents
-A flag to indiciate if the current user is allowed to Manage Events. -

-

manageEvents.url
A URL to take the user to the screen where Events can be managed (i.e. added, approved, deleted)

@@ -805,6 +860,50 @@ A URL to take the user to the screen to add a new event. An internationalized label to dispaly to the user the link for adding an event.

+

canManageEvents
+A flag to indiciate if the current user is in the group to manage events. +

+ +

message
+Messages from the system about the number and type of results being displayed. +

+ +

numberOfSearchResults
+The number of results returned by the current search. +

+ +

continue.url
+A url to add this event to the cart. +

+ +

continue.label
+The internationalized label, "Continue" to go with continue.url. +

+ +

name.label
+The internationalized label, "Event". +

+ +

starts.label
+The internationalized label, "Starts". +

+ +

ends.label
+The internationalized label, "Ends". +

+ +

price.label
+The internationalized label, "Price". +

+ +

seats.label
+The internationalized label, "Seats". +

+ +

addToBadgeMessage
+A message from the system if a badge was successfully added to this transaction. +

+

search.filters.options
Javascript for a search interface for Events based on their properties and metadata.

@@ -817,12 +916,8 @@ The URL to this Asset. The URL the EventManagementSystem area in the WebGUI Extras directory.

-

message
-Messages from the system about the number and type of results being displayed. -

- |, - lastUpdated => 1145655811, + lastUpdated => 1147061558, }, 'event template help title' => { @@ -1268,11 +1363,6 @@ normal templates.|, lastUpdated => 1147050958, }, - 'event' => { - message => q|event|, - lastUpdated => 1147050958, - }, - 'starts' => { message => q|Starts|, lastUpdated => 1147058497,