svn commit: r1560056 - in /ofbiz/trunk/applications: order/webapp/ordermgr/order/orderinfo.ftl party/webapp/partymgr/party/profileblocks/ContentList.ftl

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

svn commit: r1560056 - in /ofbiz/trunk/applications: order/webapp/ordermgr/order/orderinfo.ftl party/webapp/partymgr/party/profileblocks/ContentList.ftl

adrianc
Author: adrianc
Date: Tue Jan 21 16:11:24 2014
New Revision: 1560056

URL: http://svn.apache.org/r1560056
Log:
Some Freemarker bug fixes.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl?rev=1560056&r1=1560055&r2=1560056&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl Tue Jan 21 16:11:24 2014
@@ -192,7 +192,7 @@ under the License.
                   </#if>
               </td>
             </tr>
-            <#if orderItem.cancelBackOrderDate?exists>
+            <#if (orderItem.cancelBackOrderDate)?exists>
               <tr><td colspan="3"><hr /></td></tr>
               <tr>
                 <td align="right" valign="top" width="15%" class="label">&nbsp;${uiLabelMap.FormFieldTitle_cancelBackOrderDate}</td>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl?rev=1560056&r1=1560055&r2=1560056&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl Tue Jan 21 16:11:24 2014
@@ -36,7 +36,7 @@ under the License.
               <td>${pContent.fromDate?if_exists}</td>
               <td class="button-col">
                 <#if (content.contentName?has_content)>
-                    <a href="<@ofbizUrl>img/${content.contentName}?imgId=${content.dataResourceId}</@ofbizUrl>">${uiLabelMap.CommonView}</a>
+                    <a href="<@ofbizUrl>img/${content.contentName}?imgId=${(content.dataResourceId)?if_exists}</@ofbizUrl>">${uiLabelMap.CommonView}</a>
                 </#if>
                 <form name="removePartyContent_${pContent_index}" method="post" action="<@ofbizUrl>removePartyContent/viewprofile</@ofbizUrl>">
                   <input type="hidden" name="contentId" value="${pContent.contentId}" />