You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2007/09/10 00:42:51 UTC

svn commit: r574094 - /ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl

Author: apatel
Date: Sun Sep  9 15:42:50 2007
New Revision: 574094

URL: http://svn.apache.org/viewvc?rev=574094&view=rev
Log:
Show only status that apply to a Task.

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl

Modified: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl?rev=574094&r1=574093&r2=574094&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl Sun Sep  9 15:42:50 2007
@@ -87,18 +87,10 @@
                   <option value=${statusValidChangeToDetail.statusId}>[${uiLabelMap.WorkEffortGeneral}]${statusValidChangeToDetail.description}</option>
                 </#list>
               <#else>
-                <#assign statusItemGenrals = delegator.findByAnd("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusTypeId", "CALENDAR_STATUS"))>
                 <#assign statusItemTasks = delegator.findByAnd("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusTypeId", "TASK_STATUS"))>
-                <#assign statusItemEvents = delegator.findByAnd("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusTypeId", "EVENT_STATUS"))>
-                <#list statusItemGenrals as statusItem> 
-                  <option value="${statusItem.statusId?if_exists}">[${uiLabelMap.WorkEffortGeneral}]${statusItem.description}</option>
-                </#list>                
                 <#list statusItemTasks as statusItem>
                   <option value="${statusItem.statusId?if_exists}">[${uiLabelMap.WorkEffortTask}]${statusItem.description}</option>
                 </#list>                
-                <#list statusItemEvents as statusItem>
-                  <option value="${statusItem.statusId?if_exists}">[${uiLabelMap.WorkEffortEvent}]${statusItem.description}</option>
-                </#list>
               </#if>        
             </select>
           </td>