svn commit: r1050602 - /ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl

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

svn commit: r1050602 - /ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl

jleroux@apache.org
Author: jleroux
Date: Sat Dec 18 09:35:50 2010
New Revision: 1050602

URL: http://svn.apache.org/viewvc?rev=1050602&view=rev
Log:
A patch from Atul Vani "Ui bug in Reviews Pending Approval page" (https://issues.apache.org/jira/browse/OFBIZ-3990) - OFBIZ-3990

When the product is reviewed by an un-registered user, Reviews Pending Approval page breaks.

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl?rev=1050602&r1=1050601&r2=1050602&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl Sat Dec 18 09:35:50 2010
@@ -75,11 +75,13 @@ under the License.
                       </td>
                       <td>
                       <#if postedPerson?has_content>
-                      <#if postedPerson.firstName?has_content && postedPerson.lastName?has_content>
-                          ${postedPerson.firstName} ${postedPerson.lastName}
+                        <#if postedPerson.firstName?has_content && postedPerson.lastName?has_content>
+                            ${postedPerson.firstName} ${postedPerson.lastName}
+                        <#else>
+                            ${postedPerson.groupName}
+                        </#if>
                       <#else>
-                          ${postedPerson.groupName}
-                      </#if>
+                          <td></td>
                       </#if>
                       </td>
                       <td>