svn commit: r939767 - in /ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks: PaymentMethods.ftl UserLogin.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r939767 - in /ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks: PaymentMethods.ftl UserLogin.ftl

buscob
Author: buscob
Date: Fri Apr 30 18:22:15 2010
New Revision: 939767

URL: http://svn.apache.org/viewvc?rev=939767&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3722 - XHTML validation errors round 2+ (party)
https://issues.apache.org/jira/browse/OFBIZ-3722
PaymentMethods.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">
                   &nbsp;
                 <#-- </td> -->
+              <#else>
+                <td class="button-col">
+                  &nbsp;
               </#if>
               <#if security.hasEntityPermission("PAY_INFO", "_DELETE", session)>
                 <a href="<@ofbizUrl>deletePaymentMethod/viewprofile?partyId=${partyId}&amp;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>