Author: apatel
Date: Sun Sep  9 17:10:57 2007
New Revision: 574107

URL: http://svn.apache.org/viewvc?rev=574107&view=rev
Log:
Added Calender status as well to the Status dropdown.

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=574107&r1=574106&r2=574107&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl 
(original)
+++ 
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/project/edittask.ftl 
Sun Sep  9 17:10:57 2007
@@ -79,15 +79,19 @@
               <select name="currentStatusId" class="selectBox">
               <#if task?exists>
                 <#assign currentStatusId = task.currentStatusId?if_exists>
+                <option SELECTED 
value="${currentStatusId}">${currentStatusId}</option>  
                 <#assign statusValidChangeToDetailList = 
delegator.findByAnd("StatusValidChangeToDetail", 
Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", currentStatusId))>
                 <#list statusValidChangeToDetailList as 
statusValidChangeToDetail> 
-                  <option SELECTED 
value="${currentStatusId}">${currentStatusId}</option>  
-                  <option 
value=${statusValidChangeToDetail.statusId}>[${uiLabelMap.WorkEffortGeneral}]${statusValidChangeToDetail.description}</option>
+                  <option 
value=${statusValidChangeToDetail.statusId}>${statusValidChangeToDetail.description}</option>
                 </#list>
               <#else>
                 <#assign statusItemTasks = delegator.findByAnd("StatusItem", 
Static["org.ofbiz.base.util.UtilMisc"].toMap("statusTypeId", "TASK_STATUS"))>
+                <#assign statusItemCalender = 
delegator.findByAnd("StatusItem", 
Static["org.ofbiz.base.util.UtilMisc"].toMap("statusTypeId", 
"CALENDAR_STATUS"))>
+                <#list statusItemCalender as statusItem> 
+                  <option 
value="${statusItem.statusId}">${statusItem.description}</option>
+                </#list>                     
                 <#list statusItemTasks as statusItem>
-                  <option 
value="${statusItem.statusId?if_exists}">[${uiLabelMap.WorkEffortTask}]${statusItem.description}</option>
+                  <option 
value="${statusItem.statusId}">${statusItem.description}</option>
                 </#list>                
               </#if>        
             </select>


Reply via email to