Author: ashish
Date: Thu Nov 26 08:51:38 2009
New Revision: 884467
URL:
http://svn.apache.org/viewvc?rev=884467&view=revLog:
Layout fixes so that screen looks consistent and similar to the other existing screens present OOTB
https://localhost:28443/facility/control/FindFacilityLocation?facilityId=WebStoreWarehouse.
Thanks Chandan for the contribution.
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/FindFacilityLocation.ftl
ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml
Modified: ofbiz/trunk/applications/product/webapp/facility/facility/FindFacilityLocation.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/FindFacilityLocation.ftl?rev=884467&r1=884466&r2=884467&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/FindFacilityLocation.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/FindFacilityLocation.ftl Thu Nov 26 08:51:38 2009
@@ -17,7 +17,6 @@
under the License.
-->
- <h1>${title}</h1>
<div class="button-bar">
<a href="<@ofbizUrl>EditFacility</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacility}</a>
<a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacilityLocation}</a>
@@ -76,7 +75,7 @@
<h1>${uiLabelMap.CommonFound}: ${foundLocations.size()} ${uiLabelMap.ProductLocationsFor} <#if facility?exists>${(facility.facilityName)?if_exists}</#if> [ID:${facilityId?if_exists}]</h1>
<br/>
<table class="basic-table hover-bar" cellspacing="0">
- <tr class="header-row">
+ <tr class="header-row-2">
<td>${uiLabelMap.ProductFacility}</td>
<td>${uiLabelMap.ProductLocationSeqId}</td>
<td>${uiLabelMap.ProductType}</td>
Modified: ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml?rev=884467&r1=884466&r2=884467&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/facility/FacilityScreens.xml Thu Nov 26 08:51:38 2009
@@ -302,9 +302,11 @@
<widgets>
<decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}">
<decorator-section name="body">
- <platform-specific>
- <html><html-template location="component://product/webapp/facility/facility/FindFacilityLocation.ftl"/></html>
- </platform-specific>
+ <screenlet title="${title}">
+ <platform-specific>
+ <html><html-template location="component://product/webapp/facility/facility/FindFacilityLocation.ftl"/></html>
+ </platform-specific>
+ </screenlet>
</decorator-section>
</decorator-screen>
</widgets>