You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2011/12/20 18:18:57 UTC
svn commit: r1221351 -
/ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl
Author: ashish
Date: Tue Dec 20 17:18:56 2011
New Revision: 1221351
URL: http://svn.apache.org/viewvc?rev=1221351&view=rev
Log:
Applied minor bug fix from trunk r1221347.
Minor bug fixes on Pending Reviews page
1) Added <td> to show value of Review By column in proper place.
2) Added default value 'N' for isAnonymous drop down option
3) Added additional condition to show valid value in Review By Column instead of showing value from previous record value.
Thanks Arun!
Modified:
ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl
Modified: ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl?rev=1221351&r1=1221350&r2=1221351&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl (original)
+++ ofbiz/branches/release11.04/applications/product/webapp/catalog/reviews/pendingReviews.ftl Tue Dec 20 17:18:56 2011
@@ -74,19 +74,21 @@ under the License.
${review.postedDateTime?if_exists}
</td>
<td>
- <#if postedPerson?has_content>
+ <#if review.userLoginId?has_content && postedPerson?has_content>
+ <td>
<#if postedPerson.firstName?has_content && postedPerson.lastName?has_content>
${postedPerson.firstName} ${postedPerson.lastName}
<#else>
${postedPerson.groupName}
</#if>
+ </td>
<#else>
<td></td>
</#if>
</td>
<td>
<select name='postedAnonymous_o_${rowCount}'>
- <option>${review.postedAnonymous?default("N")}</option>
+ <option value="${review.postedAnonymous?default("N")}">${review.postedAnonymous?default("N")}</option>
<option value="${review.postedAnonymous?default("N")}">----</option>
<option value="N">${uiLabelMap.CommonN}</option>
<option value="Y">${uiLabelMap.CommonY}</option>