diff --git a/lib/WebGUI/Help/Asset_ProjectManager.pm b/lib/WebGUI/Help/Asset_ProjectManager.pm index c8f75a3d7..2c88013c6 100644 --- a/lib/WebGUI/Help/Asset_ProjectManager.pm +++ b/lib/WebGUI/Help/Asset_ProjectManager.pm @@ -100,6 +100,62 @@ our $HELP = { 'task edit template' => { title => 'edit task template vars title', body => 'edit task template vars body', + variables => [ + { + 'required' => 1, + 'name' => 'form.header', + 'description' => 'edit form.header' + }, + { + 'required' => 1, + 'name' => 'form.name' + }, + { + 'required' => 1, + 'name' => 'form.duration' + }, + { + 'required' => 1, + 'name' => 'form.duration.units' + }, + { + 'required' => 1, + 'name' => 'form.start' + }, + { + 'required' => 1, + 'name' => 'form.end' + }, + { + 'required' => 1, + 'name' => 'form.dependants' + }, + { + 'required' => 1, + 'name' => 'form.resource' + }, + { + 'required' => 1, + 'name' => 'form.milestone' + }, + { + 'required' => 1, + 'name' => 'form.percentComplete' + }, + { + 'required' => 1, + 'name' => 'form.save' + }, + { + 'required' => 1, + 'name' => 'form.footer', + 'description' => 'edit form.footer' + }, + { + 'name' => 'extras', + 'description' => 'extras.base' + } + ], fields => [ ], related => [ { @@ -112,6 +168,121 @@ our $HELP = { 'view project template' => { title => 'view project template vars title', body => 'view project template vars body', + variables => [ + { + 'name' => 'form.header' + }, + { + 'name' => 'form.footer' + }, + { + 'name' => 'project.canEdit' + }, + { + 'name' => 'project.resources.url' + }, + { + 'name' => 'project.resources.label' + }, + { + 'name' => 'extras' + }, + { + 'name' => 'extras.base' + }, + { + 'name' => 'project.durationUnits' + }, + { + 'name' => 'project.hoursPerDay' + }, + { + 'name' => 'task.name.label' + }, + { + 'name' => 'task.duration.label' + }, + { + 'name' => 'task.start.label' + }, + { + 'name' => 'task.end.label' + }, + { + 'name' => 'task.dependants.label' + }, + { + 'name' => 'form.name.error' + }, + { + 'name' => 'form.start.error' + }, + { + 'name' => 'form.start.error' + }, + { + 'name' => 'form.greaterThan.error' + }, + { + 'name' => 'form.previousPredecessor.error' + }, + { + 'name' => 'form.previousPredecessor.error' + }, + { + 'name' => 'form.invalidMove.error' + }, + { + 'name' => 'task.loop', + 'variables' => [ + { + 'name' => 'task.number' + }, + { + 'name' => 'task.number.id' + }, + { + 'name' => 'task.name' + }, + { + 'name' => 'task.start' + }, + { + 'name' => 'task.dependants' + }, + { + 'name' => 'task.end' + }, + { + 'name' => 'task.duration' + }, + { + 'name' => 'task.duration.units' + }, + { + 'name' => 'task.isMilestone' + }, + { + 'name' => 'task.edit.url' + }, + { + 'name' => 'task.edit.url' + } + ] + }, + { + 'name' => 'project.gaant.rowspan' + }, + { + 'name' => 'project.ganttChart' + }, + { + 'name' => 'task.back.url' + }, + { + 'name' => 'task.back.label' + } + ], fields => [ ], related => [ { @@ -128,6 +299,51 @@ our $HELP = { 'gantt chart template' => { title => 'gantt chart template vars title', body => 'gantt chart template vars body', + variables => [ + { + 'name' => 'extras', + }, + { + 'name' => 'sunday.label' + }, + { + 'name' => 'monday.label' + }, + { + 'name' => 'tuesday.label' + }, + { + 'name' => 'wednesday.label' + }, + { + 'name' => 'thursday.label' + }, + { + 'name' => 'friday.label' + }, + { + 'name' => 'saturday.label' + }, + { + 'name' => 'daysLoop', + 'variables' => [ + { + 'name' => 'month.name' + }, + { + 'name' => 'saturday.label' + }, + { + 'name' => 'daysLoop', + 'variables' => [ + { + 'name' => 'day.number' + } + ] + } + ] + } + ], fields => [ ], related => [ { diff --git a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm index beecca97c..e0e2e9c27 100644 --- a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm +++ b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm @@ -370,65 +370,71 @@ our $I18N = { lastUpdated => 0 }, + 'edit form.header' => { + message => q|Code to setup the Edit Task form. Leaving out this variable will prevent the form +from working.|, + lastUpdated => 1149825164, + }, + + 'form.name' => { + message => q|Form element for the user to enter/edit the name of the task.|, + lastUpdated => 1149825164, + }, + + 'form.duration' => { + message => q|Form element for the duration of the task.|, + lastUpdated => 1149825164, + }, + + 'form.duration.units' => { + message => q|Form element for the units of duration for the task.|, + lastUpdated => 1149825164, + }, + + 'form.start' => { + message => q|Form element for the starting date for the task.|, + lastUpdated => 1149825164, + }, + + 'form.end' => { + message => q|Form element for the ending date for the task.|, + lastUpdated => 1149825164, + }, + + 'form.dependants' => { + message => q|Form element for something I really don't understand.|, + lastUpdated => 1149825164, + }, + + 'form.resource' => { + message => q|Form element for selecting a user to accomplish this task.|, + lastUpdated => 1149825164, + }, + + 'form.milestone' => { + message => q|Form element for setting this task to be a milestone in the project.|, + lastUpdated => 1149825164, + }, + + 'form.percentComplete' => { + message => q|Form element for entering in how much of the project has been completed, as a percentage.|, + lastUpdated => 1149825164, + }, + + 'form.save' => { + message => q|A button to save data entered into the form.|, + lastUpdated => 1149825164, + }, + + 'edit form.footer' => { + message => q|Code to end the form.|, + lastUpdated => 1149825164, + }, + 'edit task template vars body' => { message => q|

The Edit Task template has these template variables

-

! : 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 -from working. -

- -

form.name !
-Form element for the user to enter/edit the name of the task. -

- -

form.duration !
-Form element for the duration of the task. -

- -

form.duration.units !
-Form element for the units of duration for the task. -

- -

form.start !
-Form element for the starting date for the task. -

- -

form.end !
-Form element for the ending date for the task. -

- -

form.dependants !
-Form element for something I really don't understand. -

- -

form.resource !
-Form element for selecting a user to accomplish this task. -

- -

form.milestone !
-Form element for setting this task to be a milestone in the project. -

- -

form.percentComplete !
-Form element for entering in how much of the project has been completed, as a percentage. -

- -

form.save !
-A button to save data entered into the form. -

- -

form.footer !
-Code to end the form. -

- -

extras
-The URL to the Extras directory. -

- |, - lastUpdated => 0 + lastUpdated => 1149825739 }, 'view project template vars title' => { @@ -436,171 +442,202 @@ The URL to the Extras directory. lastUpdated => 0 }, + 'form.header' => { + message => q|If the user is in the group to add projects, then this variable will contain HTML form code +to make on the fly editing of tasks work.|, + lastUpdated => 1149824991, + }, + + 'form.footer' => { + message => q|If the user is in the group to add projects, then this variable will contain HTML form code +to make on the fly editing of tasks work.|, + lastUpdated => 1149824991, + }, + + 'project.canEdit' => { + message => q|A conditional indicating whether or not this user is a member of the group to add projects.|, + lastUpdated => 1149824991, + }, + + 'project.resources.url' => { + message => q|If the user is in the group to add projects, this will be the URL to the Manage Resources screen.|, + lastUpdated => 1149824991, + }, + + 'project.resources.label' => { + message => q|If the user is in the group to add projects, this will be internationalized label to be used with project.resources.label.|, + lastUpdated => 1149824991, + }, + + 'extras' => { + message => q|The URL to the Extras directory for the Project Manager.|, + lastUpdated => 1149824991, + }, + + 'extras.base' => { + message => q|The URL to the top of the Extras directory.|, + lastUpdated => 1149824991, + }, + + 'project.durationUnits' => { + message => q|An abbreviated version of the units of time that duration are measured.|, + lastUpdated => 1149824991, + }, + + 'project.hoursPerDay' => { + message => q|The number of hours that represents a full day of work for this project.|, + lastUpdated => 1149824991, + }, + + 'task.name.label' => { + message => q|The internationalized word "Task".|, + lastUpdated => 1149824991, + }, + + 'task.duration.label' => { + message => q|The internationalized word "Duration".|, + lastUpdated => 1149824991, + }, + + 'task.start.label' => { + message => q|The internationalized word "Start".|, + lastUpdated => 1149824991, + }, + + 'task.end.label' => { + message => q|The internationalized word "End".|, + lastUpdated => 1149824991, + }, + + 'task.dependants.label' => { + message => q|The internationalized word "Pred", short for Predecessor.|, + lastUpdated => 1149824991, + }, + + 'form.name.error' => { + message => q|An internationalized error message for a missing task name.|, + lastUpdated => 1149824991, + }, + + 'form.start.error' => { + message => q|An internationalized error message for not entering an start date.|, + lastUpdated => 1149824991, + }, + + 'form.start.error' => { + message => q|An internationalized error message for not entering an end date.|, + lastUpdated => 1149824991, + }, + + 'form.greaterThan.error' => { + message => q|An internationalized error message for entering a start date after the end date.|, + lastUpdated => 1149824991, + }, + + 'form.previousPredecessor.error' => { + message => q|An internationalized error message for choosing a predecessor that is not a previous task.|, + lastUpdated => 1149824991, + }, + + 'form.previousPredecessor.error' => { + message => q|An internationalized error message for choosing a predecessor task that does not exist.|, + lastUpdated => 1149824991, + }, + + 'form.invalidMove.error' => { + message => q|An internationalized error message for choosing a task that is invalid as a predecessor because the end date is after the start date of this task.|, + lastUpdated => 1149824991, + }, + + 'task.loop' => { + message => q|A loop containing all tasks for this project, in sequence order.|, + lastUpdated => 1149824991, + }, + + 'task.number' => { + message => q|The sequence number for this task.|, + lastUpdated => 1149824991, + }, + + 'task.number.id' => { + message => q|A unique identifier used internally by WebGUI for this task.|, + lastUpdated => 1149824991, + }, + + 'task.name' => { + message => q|The name of this task.|, + lastUpdated => 1149824991, + }, + + 'task.start' => { + message => q|If the user is in the group to add projects, then this will be a form field to edit the start date +for this task. Otherwise, just the start date will be displayed as text.|, + lastUpdated => 1149824991, + }, + + 'task.dependants' => { + message => q|If the user is in the group to add projects, then this will be a form field to edit the dependants +for this task. Otherwise, just the list of dependants will be displayed as text.|, + lastUpdated => 1149824991, + }, + + 'task.end' => { + message => q|If the user is in the group to add projects, then this will be a form field to edit the end date +for this task. Otherwise, just the end date will be displayed as text.|, + lastUpdated => 1149824991, + }, + + 'task.duration' => { + message => q|If the user is in the group to add projects, and this task is not a milestone, then a this variable +will be a form field to edit the duration. +Otherwise, just the duration will be displayed as text.|, + lastUpdated => 1149824991, + }, + + 'task.duration.units' => { + message => q|The units for the duration, typically hours or days.|, + lastUpdated => 1149824991, + }, + + 'task.isMilestone' => { + message => q|A conditiional indicating whether or not this task is a milestone.|, + lastUpdated => 1149824991, + }, + + 'task.edit.url' => { + message => q|If the user can add tasks to this project, then this will be a URL to take them to the Add Task screen.|, + lastUpdated => 1149824991, + }, + + 'task.edit.url' => { + message => q|If the user can add tasks to this project, then this will contain an internationalized label to go with task.edit.url.|, + lastUpdated => 1149824991, + }, + + 'project.gaant.rowspan' => { + message => q|The number of rows for the Gannt chart, 4 + the number of tasks.|, + lastUpdated => 1149824991, + }, + + 'project.ganttChart' => { + message => q|The Gannt chart for this project and its tasks.|, + lastUpdated => 1149824991, + }, + + 'task.back.url' => { + message => q|A link back to this screen.|, + lastUpdated => 1149824991, + }, + + 'task.back.label' => { + message => q|A label to go with the link back to this screen.|, + lastUpdated => 1149824991, + }, + 'view project template vars body' => { message => q|

The View Project template has these template variables

-

! : This variable is required for the form to function correctly.

- -

form.header
-If the user is in the group to add projects, then this variable will contain HTML form code -to make on the fly editing of tasks work. -

- -

form.footer
-If the user is in the group to add projects, then this variable will contain HTML form code -to make on the fly editing of tasks work. -

- -

project.canEdit
-A conditional indicating whether or not this user is a member of the group to add projects. -

- -

project.resources.url
-If the user is in the group to add projects, this will be the URL to the Manage Resources screen. -

- -

project.resources.label
-If the user is in the group to add projects, this will be internationalized label to be used with project.resources.label. -

- -

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", short for Predecessor. -

- -

form.name.error
-An internationalized error message for a missing task name. -

- -

form.start.error
-An internationalized error message for not entering an start date. -

- -

form.start.error
-An internationalized error message for not entering an end date. -

- -

form.greaterThan.error
-An internationalized error message for entering a start date after the end date. -

- -

form.previousPredecessor.error
-An internationalized error message for choosing a predecessor that is not a previous task. -

- -

form.previousPredecessor.error
-An internationalized error message for choosing a predecessor task that does not exist. -

- -

form.invalidMove.error
-An internationalized error message for choosing a task that is invalid as a predecessor because the end date is after the start date of this task. -

- -

task.loop
-A loop containing all tasks for this project, in sequence order. -

- -
- -

task.number
-The sequence number for this task. -

- -

task.number.id
-A unique identifier used internally by WebGUI for this task. -

- -

task.name
-The name of this task. -

- -

task.start
-If the user is in the group to add projects, then this will be a form field to edit the start date -for this task. Otherwise, just the start date will be displayed as text. -

- -

task.dependants
-If the user is in the group to add projects, then this will be a form field to edit the dependants -for this task. Otherwise, just the list of dependants will be displayed as text. -

- -

task.end
-If the user is in the group to add projects, then this will be a form field to edit the end date -for this task. Otherwise, just the end date will be displayed as text. -

- -

task.duration
-If the user is in the group to add projects, and this task is not a milestone, then a this variable -will be a form field to edit the duration. -Otherwise, just the duration will be displayed as text. -

- -

task.duration.units
-The units for the duration, typically hours or days. -

- -

task.isMilestone
-A conditiional indicating whether or not this task is a milestone. -

- -

task.edit.url
-If the user can add tasks to this project, then this will be a URL to take them to the Add Task screen. -

- -

task.edit.url
-If the user can add tasks to this project, then this will contain an internationalized label to go with task.edit.url. -

- -
- -

project.gaant.rowspan
-The number of rows for the Gannt chart, 4 + the number of tasks. -

- -

project.ganttChart
-The Gannt chart for this project and its tasks. -

- -

task.back.url
-A link back to this screen. -

- -

task.back.label
-A label to go with the link back to this screen. -

- |, - lastUpdated => 0 + lastUpdated => 1149825022 }, 'gantt chart template vars title' => { @@ -608,72 +645,69 @@ A label to go with the link back to this screen. lastUpdated => 0 }, + 'sunday.label' => { + message => q|The initial of the day for Sunday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'monday.label' => { + message => q|The initial of the day for Monday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'tuesday.label' => { + message => q|The initial of the day for Tuesday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'wednesday.label' => { + message => q|The initial of the day for Wednesday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'thursday.label' => { + message => q|The initial of the day for Thursday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'friday.label' => { + message => q|The initial of the day for Friday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'saturday.label' => { + message => q|The initial of the day for Saturday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'daysLoop' => { + message => q|The initial of the day for Saturday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'month.name' => { + message => q|The name of the current month|, + lastUpdated => 1149825039, + }, + + 'saturday.label' => { + message => q|The initial of the day for Saturday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'daysLoop' => { + message => q|The initial of the day for Saturday, internationalized.|, + lastUpdated => 1149825039, + }, + + 'day.number' => { + message => q|The ordinal number for this day of the week, an integer between 1 and 7|, + lastUpdated => 1149825039, + }, + 'gantt chart template vars body' => { - message => q|

These variables are available in the Gantt Chart Template:

- -

extras
-The URL to the Extras directory for the Project Manager. -

- -

sunday.label
-The initial of the day for Sunday, internationalized. -

- -

monday.label
-The initial of the day for Monday, internationalized. -

- -

tuesday.label
-The initial of the day for Tuesday, internationalized. -

- -

wednesday.label
-The initial of the day for Wednesday, internationalized. -

- -

thursday.label
-The initial of the day for Thursday, internationalized. -

- -

friday.label
-The initial of the day for Friday, internationalized. -

- -

saturday.label
-The initial of the day for Saturday, internationalized. -

- -

daysLoop
-The initial of the day for Saturday, internationalized. -

- -
- -

month.name
-The name of the current month -

- -

saturday.label
-The initial of the day for Saturday, internationalized. -

- -

daysLoop
-The initial of the day for Saturday, internationalized. -

- -
- -

day.number
-The ordinal number for this day of the week, an integer between 1 and 7 -

- -
- -
- - - |, - lastUpdated => 0 + message => q|

These variables are available in the Gantt Chart Template:

|, + lastUpdated => 1149825108 }, };