You're welcome :-) On 22.08.2012, at 12:40, Hans Bakker <mailingl...@antwebsystems.com> wrote:
> You saved my day, I have a presentation tomorrow, > > Thanks! > > Regards, > Hans > > On 08/22/2012 04:23 PM, sascharodek...@apache.org wrote: >> Author: sascharodekamp >> Date: Wed Aug 22 09:23:52 2012 >> New Revision: 1375953 >> >> URL: http://svn.apache.org/viewvc?rev=1375953&view=rev >> Log: >> - Fixed a bug, the Projectmgr GantChart was not shown anymore. Thanks Hans >> for reposting on the user ML >> >> Modified: >> >> ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/gantChart.ftl >> >> Modified: >> ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/gantChart.ftl >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/gantChart.ftl?rev=1375953&r1=1375952&r2=1375953&view=diff >> ============================================================================== >> --- >> ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/gantChart.ftl >> (original) >> +++ >> ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/gantChart.ftl >> Wed Aug 22 09:23:52 2012 >> @@ -33,7 +33,7 @@ g.setShowComp(1); // Show/Hide % Complet >> g.AddTaskItem(new JSGantt.TaskItem(${t.phaseNr}, >> "${t.phaseSeqNum?if_exists}. ${t.phaseName}", "", "", "00ff00", "", 0, "", >> 0, 1, 0, 1)); >> </#if> >> <#if t.workEffortTypeId == "TASK"> >> - g.AddTaskItem(new >> JSGantt.TaskItem(${t.taskNr},"${t.taskSeqNum?if_exists}. >> ${t.taskName}","${StringUtil.wrapString(t.estimatedStartDate)}", >> "${StringUtil.wrapString(t.estimatedCompletionDate)}","009900", "${t.url}", >> 0 , "${t.resource?if_exists}", ${t.completion?if_exists} , 0, ${t.phaseNr}, >> 1<#if t.preDecessor?exists>, ${t.preDecessor}</#if>)); >> + g.AddTaskItem(new >> JSGantt.TaskItem(${t.taskNr},"${t.taskSeqNum?if_exists}. >> ${t.taskName}","${StringUtil.wrapString(t.estimatedStartDate)}", >> "${StringUtil.wrapString(t.estimatedCompletionDate)}","009900", "${t.url}", >> 0 , "${t.resource?if_exists}", ${t.completion?if_exists} , 0, ${t.phaseNr}, >> 1<#if t.preDecessor?exists>, "${t.preDecessor}"</#if>)); >> </#if> >> <#if t.workEffortTypeId == "MILESTONE"> >> g.AddTaskItem(new >> JSGantt.TaskItem(${t.taskNr},"${t.taskName}","${StringUtil.wrapString(t.estimatedStartDate)}", >> "${StringUtil.wrapString(t.estimatedCompletionDate)}","00ff00", "", 1 , >> "${t.resource?if_exists}", ${t.completion?if_exists} , 0,${t.phaseNr}, "", >> "" )); >> >> >