Author: buscob
Date: Fri Apr 30 18:22:15 2010
New Revision: 939767
URL:
http://svn.apache.org/viewvc?rev=939767&view=revLog:
A patch from Blas Rodriguez Somoza
OFBIZ-3722 - XHTML validation errors round 2+ (party)
https://issues.apache.org/jira/browse/OFBIZ-3722PaymentMethods.ftl
Line 139: td open needed.
UserLogin.ftl
Line 31: wrong if condition (creates an empty table and don't show the ${uiLabelMap.PartyNoUserLogin} message)
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl?rev=939767&r1=939766&r2=939767&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl Fri Apr 30 18:22:15 2010
@@ -137,6 +137,9 @@ under the License.
<td class="button-col">
<#-- </td> -->
+ <#else>
+ <td class="button-col">
+
</#if>
<#if security.hasEntityPermission("PAY_INFO", "_DELETE", session)>
<a href="<@ofbizUrl>deletePaymentMethod/viewprofile?partyId=${partyId}&paymentMethodId=${paymentMethod.paymentMethodId}</@ofbizUrl>">${uiLabelMap.CommonExpire}</a>
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl?rev=939767&r1=939766&r2=939767&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl Fri Apr 30 18:22:15 2010
@@ -28,7 +28,7 @@ under the License.
<br class="clear" />
</div>
<div class="screenlet-body">
- <#if userLogins?exists>
+ <#if userLogins?has_content>
<table class="basic-table" cellspacing="0">
<#list userLogins as userUserLogin>
<tr>