diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 7d6288681..c91cd76f3 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -14,6 +14,7 @@ - fix: Fatal in Affiliate.pm - Fixed several problems to make WebGUI 7 Windows compatible again. - fix: navigation (Wouter van Oijen / Procolix) + - Fixed typo in template variable project.gantt.rowspan and documentation 7.0.2 diff --git a/lib/WebGUI/Asset/Wobject/ProjectManager.pm b/lib/WebGUI/Asset/Wobject/ProjectManager.pm index c9ff8bb88..350d1029c 100644 --- a/lib/WebGUI/Asset/Wobject/ProjectManager.pm +++ b/lib/WebGUI/Asset/Wobject/ProjectManager.pm @@ -1093,8 +1093,8 @@ sub www_viewProject { } - #Rowspan of gaant chart is 4 plus number of tasks - $var->{'project.gaant.rowspan'} = 4 + $taskLength; + #Rowspan of gantt chart is 4 plus number of tasks + $var->{'project.gantt.rowspan'} = 4 + $taskLength; $var->{'project.ganttChart'} = $self->www_drawGanttChart($projectId, $data, $var); diff --git a/lib/WebGUI/Help/Asset_ProjectManager.pm b/lib/WebGUI/Help/Asset_ProjectManager.pm index 2c88013c6..3b4a9482c 100644 --- a/lib/WebGUI/Help/Asset_ProjectManager.pm +++ b/lib/WebGUI/Help/Asset_ProjectManager.pm @@ -271,7 +271,7 @@ our $HELP = { ] }, { - 'name' => 'project.gaant.rowspan' + 'name' => 'project.gantt.rowspan' }, { 'name' => 'project.ganttChart' diff --git a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm index e0e2e9c27..7ea38abf9 100644 --- a/lib/WebGUI/i18n/English/Asset_ProjectManager.pm +++ b/lib/WebGUI/i18n/English/Asset_ProjectManager.pm @@ -614,14 +614,14 @@ Otherwise, just the duration will be displayed as text.|, lastUpdated => 1149824991, }, - 'project.gaant.rowspan' => { - message => q|The number of rows for the Gannt chart, 4 + the number of tasks.|, - lastUpdated => 1149824991, + 'project.gantt.rowspan' => { + message => q|The number of rows for the Gantt chart, 4 + the number of tasks.|, + lastUpdated => 1153478000, }, 'project.ganttChart' => { - message => q|The Gannt chart for this project and its tasks.|, - lastUpdated => 1149824991, + message => q|The Gantt chart for this project and its tasks.|, + lastUpdated => 1153478000, }, 'task.back.url' => {