diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 0458bc07f..365b9e58b 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -1391,7 +1391,7 @@ sub addCartVars { } } $purchase->{editIcon} = $self->session->icon->edit("func=addEventsToBadge;bid=".$purchase->{badgeId}.";purchaseCounter=".$i, $self->getUrl()); - $purchase->{deleteIcon} = $self->session->icon->delete("func=addEventsToBadge;bid=none;purchaseCounter=".$i,$self->getUrl,$i18n->echo('Are you sure you want to delete this item from your cart? Any changes you have made to the current badge you are editing will also be lost.')); + $purchase->{deleteIcon} = $self->session->icon->delete("func=addEventsToBadge;bid=none;purchaseCounter=".$i,$self->getUrl,$i18n->echo('confirm delete purchase')); push(@{$var->{'cart.purchaseLoop'}},$purchase); } $var->{'checkoutUrl'} = $self->getUrl("func=checkout"); diff --git a/lib/WebGUI/Help/Asset_ProjectManager.pm b/lib/WebGUI/Help/Asset_ProjectManager.pm index f73b574bf..123f3578f 100644 --- a/lib/WebGUI/Help/Asset_ProjectManager.pm +++ b/lib/WebGUI/Help/Asset_ProjectManager.pm @@ -38,6 +38,14 @@ our $HELP = { tag => 'project add/edit', namespace => 'Asset_ProjectManager', }, + { + tag => 'task edit template', + namespace => 'Asset_ProjectManager', + }, + { + tag => 'view project template', + namespace => 'Asset_ProjectManager', + }, ], }, @@ -101,6 +109,18 @@ our $HELP = { ], }, + 'view project template' => { + title => 'view project template vars title', + body => 'view project template vars body', + fields => [ ], + related => [ + { + tag => 'project manager add/edit', + namespace => 'Asset_ProjectManager', + }, + ], + }, + }; 1; ##All perl modules must return true diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm index e213b1ba3..8bdb6c477 100644 --- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm @@ -1541,6 +1541,11 @@ added to the user's cart and would be discounted if the Attend All Sessions even lastUpdated => 1147108858, }, + 'confirm delete purchase' => { + message => q|Are you sure you want to delete this item from your cart? Any changes you have made to the current badge you are editing will also be lost.|, + lastUpdated => 1147108858, + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm index 9c38deea3..bd9b30a62 100644 --- a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm +++ b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm @@ -10,7 +10,7 @@ our $I18N = { message => q|Default Project Manager View Template|, lastUpdated => 0 }, - + 'projectDisplayTemplate hoverhelp' => { message => q|Template to use for displaying individual projects. Default template displays Gantt chart representation of projects|, lastUpdated => 0 @@ -20,7 +20,7 @@ our $I18N = { message => q|Default Project Display Template|, lastUpdated => 0 }, - + 'ganttChartTemplate hoverhelp' => { message => q|Template to use for drawing the gantt chart within the table.|, lastUpdated => 0 @@ -30,7 +30,7 @@ our $I18N = { message => q|Default Gantt Chart Template|, lastUpdated => 0 }, - + 'editTaskTemplate hoverhelp' => { message => q|Template to use for displaying the edit task dialog.|, lastUpdated => 0 @@ -40,7 +40,7 @@ our $I18N = { message => q|Default Edit Task Template|, lastUpdated => 0 }, - + 'groupToAdd hoverhelp' => { message => q|Group that is able to create projects|, lastUpdated => 0 @@ -50,12 +50,12 @@ our $I18N = { message => q|Group to Add Projects|, lastUpdated => 0 }, - + 'assetName' => { message => q|Project Management System|, lastUpdated => 0 }, - + 'create project' => { message => q|Create New Project|, lastUpdated => 0 @@ -65,12 +65,12 @@ our $I18N = { message => q|Edit Project|, lastUpdated => 0 }, - + 'project id' => { message => q|Project Id|, lastUpdated => 0 }, - + 'project id hoverhelp' => { message => q|A unique identifier used internally by WebGUI to reference this project.|, lastUpdated => 0 @@ -80,12 +80,12 @@ our $I18N = { message => q|Enter the name of the project|, lastUpdated => 0 }, - + 'project name label' => { message => q|Project Name|, lastUpdated => 0 }, - + 'project description hoverhelp' => { message => q|Enter a description for the project.|, lastUpdated => 0 @@ -95,22 +95,22 @@ our $I18N = { message => q|Project Description|, lastUpdated => 0 }, - + 'project manager hoverhelp' => { message => q|Choose a group of users that are able to manage this project. Project Managers will be able to edit project tasks|, lastUpdated => 0 }, - + 'project manager label' => { message => q|Project Managers Group|, lastUpdated => 0 }, - + 'hours per day hoverhelp' => { message => q|Choose number of hours which generally represents a full day of work. This will serve as a basis for estimating how many days a task takes. This will be overridden if a resource is set to work more or less hours in a day, and that resource is attached to the task.|, lastUpdated => 0 }, - + 'hours per day label' => { message => q|Working Hours Per Day|, lastUpdated => 0 @@ -120,12 +120,12 @@ our $I18N = { message => q|Choose the unit of time by which you wish to track a project. This will determine how you will enter the time each task takes.|, lastUpdated => 0 }, - + 'duration units label' => { message => q|Track Project In|, lastUpdated => 0 }, - + 'target budget hoverhelp' => { message => q|Enter the estimated cost amount the project should track to. If your resources are properly configured, the system will track this target against actual costs. Leave this value zero if you do not wish to track project costs|, lastUpdated => 0 @@ -135,235 +135,235 @@ our $I18N = { message => q|Project Cost Estimate|, lastUpdated => 0 }, - + 'project new label' => { message => q|New Project|, lastUpdated => 0 }, - + 'project name label' => { message => q|Project Name|, lastUpdated => 0 }, - + 'project start date label' => { message => q|Start|, lastUpdated => 0 }, - + 'project end date label' => { message => q|End|, lastUpdated => 0 }, - + 'project cost label' => { message => q|Estimated Cost|, lastUpdated => 0 }, - + 'project complete label' => { message => q|% Complete|, lastUpdated => 0 }, - + 'project action label' => { message => q|Actions|, lastUpdated => 0 }, - + 'no projects' => { message => q|Project List is Empty|, lastUpdated => 0 }, - + 'project edit title' => { message => q|Edit Project|, lastUpdated => 0 }, - + 'project delete title' => { message => q|Delete Project|, lastUpdated => 0 }, - + 'project delete warning' => { message => q|Are you sure you wish to delete this project and all of it's associated tasks?|, lastUpdated => 0 }, - + 'project start task label' => { message => q|Project Start|, lastUpdated => 0 }, - + 'hours label' => { message => q|Hours|, lastUpdated => 0 }, - + 'days label' => { message => q|Days|, lastUpdated => 0 }, - + 'hours label abbrev' => { message => q|hrs|, lastUpdated => 0 }, - + 'days label abbrev' => { message => q|days|, lastUpdated => 0 }, - + 'task name label' => { message => q|Task|, lastUpdated => 0 }, - + 'task duration label' => { message => q|Duration|, lastUpdated => 0 }, - + 'task start label' => { message => q|Start|, lastUpdated => 0 }, - + 'task end label' => { message => q|Finish|, lastUpdated => 0 }, - + 'task dependant label' => { message => q|Pred|, lastUpdated => 0 }, - + 'add task label' => { message => q|Add Task|, lastUpdated => 0 }, - + 'edit task label' => { message => q|Edit Task|, lastUpdated => 0 }, - + 'task name error' => { message => q|Task Name must be entered in order to save|, lastUpdated => 0 }, - + 'task start error' => { message => q|Start Date must be entered in order to save|, lastUpdated => 0 }, - + 'task end error' => { message => q|End Date must be entered in order to save|, lastUpdated => 0 }, - + 'task back label' => { message => q|Back To Dashboard|, lastUpdated => 0 }, - + 'task resources label' => { message => q|Manage Resources|, lastUpdated => 0 }, - + 'task greaterthan error' => { message => q|End Date cannot be greater than Start Date|, lastUpdated => 0 }, - + 'monday label' => { message => q|M|, lastUpdated => 0 }, - + 'tuesday label' => { message => q|T|, lastUpdated => 0 }, - + 'wednesday label' => { message => q|W|, lastUpdated => 0 }, - + 'thursday label' => { message => q|T|, lastUpdated => 0 }, - + 'friday label' => { message => q|F|, lastUpdated => 0 }, - + 'saturday label' => { message => q|S|, lastUpdated => 0 }, - + 'sunday label' => { message => q|S|, lastUpdated => 0 }, - + 'task previousPredecessor error' => { message => q|Predecessor must be a previous task.|, lastUpdated => 0 }, - + 'task samePredecessor error' => { message => q|Task cannot be it's own predecessor|, lastUpdated => 0 }, - + 'task noPredecessor error' => { message => q|Predecessor entered does not exist|, lastUpdated => 0 }, - + 'task invalidMove error' => { message => q|The start date that you have selected for this task is invalid as it's predecessor's end date will not be met. Either remove the predecessor restriction from this task or change the end date of it's predecessor to make this date valid. |, lastUpdated => 0 }, - + 'resource none' => { message => q|No Resource|, lastUpdated => 0 }, - + 'pm add/edit title' => { message => q|Add/Edit Project Manager|, lastUpdated => 0 }, - + 'pm add/edit body' => { message => q|
The Project Manager provides an interface for you to create a project, add tasks to it and monitor its status as it progresses.
|, lastUpdated => 0 }, - + 'project edit body' => { message => q|In the Edit Project screen, you will define a new project or edit an existing project by giving general information about the project, including a name, a description, the group of users who are allowed to manage the project and the target budget.
|, lastUpdated => 0 }, - + 'edit task template vars title' => { message => q|Edit Task Template Variables|, lastUpdated => 0 }, - + 'edit task template vars body' => { message => q|The Edit Task template has these template variables
-! : This variable is required for the Data Form to function correctly.
+! : This variable is required for the form to function correctly.
form.header !
Code to setup the Edit Task form. Leaving out this variable will prevent the form
@@ -414,21 +414,72 @@ A button to save data entered into the form.
Code to end the form.
extras !
+
extras
The URL to the Extras directory.
The View Project template has these template variables
+! : This variable is required for the form to function correctly.
+ +extras
+The URL to the Extras directory for the Project Manager.
+
extras.base
+The URL to the top of the Extras directory.
+
project.durationUnits
+An abbreviated version of the units of time that duration are measured.
+
project.hoursPerDay
+The number of hours that represents a full day of work for this project.
+
task.name.label
+The internationalized word "Task".
+
task.duration.label
+The internationalized word "Duration".
+
task.start.label
+The internationalized word "Start".
+
task.end.label
+The internationalized word "End".
+
task.dependants.label
+The internationalized word "Pred".
+
task.dependants.label
+The internationalized word "Pred".
+
form.name.error
+An internationalized error message for a missing task name.
+
form.start.error
+An internationalized error message for a missing task name.
+