Posted by
adrianc on
URL: http://ofbiz.116.s1.nabble.com/svn-commit-r1242335-ofbiz-trunk-applications-order-webapp-ordermgr-return-returnLinks-ftl-tp4373019.html
Author: adrianc
Date: Thu Feb 9 14:24:40 2012
New Revision: 1242335
URL:
http://svn.apache.org/viewvc?rev=1242335&view=revLog:
Fixed bad layout in Create Return screen.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnLinks.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/returnLinks.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnLinks.ftl?rev=1242335&r1=1242334&r2=1242335&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/returnLinks.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/returnLinks.ftl Thu Feb 9 14:24:40 2012
@@ -20,15 +20,22 @@ under the License.
<#if returnHeader?exists>
<div class="button-bar tab-bar">
<ul>
+ <li>
+ <ul>
<li<#if selected="OrderReturnHeader"> class="selected"</#if>><a href="<@ofbizUrl>returnMain?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnHeader}</a></li>
<li<#if selected="OrderReturnItems"> class="selected"</#if>><a href="<@ofbizUrl>returnItems?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnItems}</a></li>
<li<#if selected="OrderReturnHistory"> class="selected"</#if>><a href="<@ofbizUrl>ReturnHistory?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnHistory}</a></li>
</ul>
+ </li>
+ </ul>
<br />
</div>
- <div>
- <#if selected != "OrderReturnHistory">
- <a href="<@ofbizUrl>return.pdf?returnId=${returnId?if_exists}</@ofbizUrl>" class="buttontext">PDF</a>
+ <#if selected != "OrderReturnHistory">
+ <div class="button-bar button-style-1">
+ <ul>
+ <li>
+ <ul>
+ <li><a href="<@ofbizUrl>return.pdf?returnId=${returnId?if_exists}</@ofbizUrl>">PDF</a></li>
<#if returnId?exists>
<#assign returnItems = delegator.findByAnd("ReturnItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("returnId", returnId, "returnTypeId", "RTN_REFUND"))/>
<#if returnItems?has_content>
@@ -48,12 +55,12 @@ under the License.
<#assign shipmentRouteSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipGroupShipment.shipmentId}))>
<#if shipmentRouteSegment?exists>
<#if "UPS" == shipmentRouteSegment.carrierPartyId>
- <a href="javascript:document.upsEmailReturnLabel.submit();" class="buttontext">${uiLabelMap.ProductEmailReturnShippingLabelUPS}</a>
- <form name="upsEmailReturnLabel" method="post" action="<@ofbizUrl>upsEmailReturnLabelReturn</@ofbizUrl>">
+ <li><a href="javascript:document.upsEmailReturnLabel.submit();" class="buttontext">${uiLabelMap.ProductEmailReturnShippingLabelUPS}</a></li>
+ <li><form name="upsEmailReturnLabel" method="post" action="<@ofbizUrl>upsEmailReturnLabelReturn</@ofbizUrl>">
<input type="hidden" name="returnId" value="${returnId}"/>
<input type="hidden" name="shipmentId" value="${shipGroupShipment.shipmentId}"/>
<input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRouteSegment.shipmentRouteSegmentId}" />
- </form>
+ </form></li>
</#if>
</#if>
</#if>
@@ -61,8 +68,11 @@ under the License.
</#if>
</#if>
</#if>
- </#if>
- </div>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </#if>
<#else>
<h1>${uiLabelMap.OrderCreateNewReturn}</h1>
<#if requestParameters.returnId?has_content>