From 6ccd4d1d47d0701fcdb29b5299cdaca03e1347ec Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Mon, 7 Jan 2008 10:45:10 +0000 Subject: [PATCH] refactoring of request option in projectmanager git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@609563 13f79535-47bb-0310-9956-ffa450edef68 --- .../config/ProjectMgrUiLabels.properties | 2 + .../webapp/projectmgr/RequestTabBar.ftl | 39 ------ projectmgr/widget/CommonScreens.xml | 23 +++- projectmgr/widget/Menus.xml | 8 ++ projectmgr/widget/RequestScreens.xml | 120 +++--------------- projectmgr/widget/forms/RequestForms.xml | 24 ++-- 6 files changed, 63 insertions(+), 153 deletions(-) delete mode 100644 projectmgr/webapp/projectmgr/RequestTabBar.ftl diff --git a/projectmgr/config/ProjectMgrUiLabels.properties b/projectmgr/config/ProjectMgrUiLabels.properties index cf8fdcef1..2115c8080 100644 --- a/projectmgr/config/ProjectMgrUiLabels.properties +++ b/projectmgr/config/ProjectMgrUiLabels.properties @@ -74,6 +74,7 @@ ProjectMgrCompanyName=Ofbiz Company ProjectMgrCompanySubtitle=Project ProjectMgrCopyProject=Copy Project ProjectMgrDependencies=Dependencies +ProjectMgrEdit=Edit ProjectMgrEditPatySkill=Edit PartySkill ProjectMgrEditPoject=Edit Project ProjectMgrEditTask=Edit Task @@ -124,6 +125,7 @@ ProjectMgrTaskId=Task Id ProjectMgrTasks=Tasks ProjectMgrTreeDetails=TreeDetails ProjectMgrParties=Parties +ProjectMgrView=View ProjectMgrWorkEffortAssocTypeId=Association Type ProjectMgrWorkEffortTypeId=Type ProjectMgrWorkEffortPurposeTypeId=Purpose Type diff --git a/projectmgr/webapp/projectmgr/RequestTabBar.ftl b/projectmgr/webapp/projectmgr/RequestTabBar.ftl deleted file mode 100644 index edd00e0f4..000000000 --- a/projectmgr/webapp/projectmgr/RequestTabBar.ftl +++ /dev/null @@ -1,39 +0,0 @@ -<#-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<#assign unselectedClassName = "tabButton"> -<#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}> - -<#if custRequest?exists> -
- ${uiLabelMap.OrderViewRequest} - ${uiLabelMap.OrderRequest} -
-<#if custRequestItem?exists> -
- ${uiLabelMap.OrderRequestItem} - ${uiLabelMap.OrderNotes} - <#if custRequest.custRequestTypeId = "RF_QUOTE"> - ${uiLabelMap.OrderOrderQuotes} - - ${uiLabelMap.OrderRequirements} - ${uiLabelMap.WorkEffortWorkEfforts} -
- - diff --git a/projectmgr/widget/CommonScreens.xml b/projectmgr/widget/CommonScreens.xml index bb9483935..c40c25ba2 100644 --- a/projectmgr/widget/CommonScreens.xml +++ b/projectmgr/widget/CommonScreens.xml @@ -397,5 +397,26 @@ under the License. - + +
+ + + + + +
+ + + + + + + +
+
+
+
+
+
+ diff --git a/projectmgr/widget/Menus.xml b/projectmgr/widget/Menus.xml index 9c63f9d7d..cc43780d5 100644 --- a/projectmgr/widget/Menus.xml +++ b/projectmgr/widget/Menus.xml @@ -336,4 +336,12 @@ + + + + + + + + diff --git a/projectmgr/widget/RequestScreens.xml b/projectmgr/widget/RequestScreens.xml index 28384a500..f741e5a0e 100644 --- a/projectmgr/widget/RequestScreens.xml +++ b/projectmgr/widget/RequestScreens.xml @@ -53,7 +53,7 @@ under the License.
- + @@ -63,7 +63,7 @@ under the License. - + @@ -71,120 +71,40 @@ under the License.
- -
- - - - - -
- - - - - - - - - -
-
-
-
-
-
- + - - - - - - - - + - + + + + + + + + + + + + + + + +
- -
- - - - - - - - - -
-
- -
- - - - - - - - - -
-
- -
- -