Author: erwan
Date: Fri Apr 15 14:11:56 2011
New Revision: 1092711
URL:
http://svn.apache.org/viewvc?rev=1092711&view=revLog:
should be using the role attribute and not looking for a child element
Modified:
ofbiz/trunk/applications/content/template/HelpTemplate.ftl
Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1092711&r1=1092710&r2=1092711&view=diff==============================================================================
--- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
+++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Apr 15 14:11:56 2011
@@ -35,7 +35,7 @@ under the License.
<#elseif child?node_type = 'element' && child?node_name = "mediaobject">
<@mediaobject node=child/>
<#elseif child?node_type = 'element' && child?node_name = "emphasis">
- <span class="${child["role"]}">${child}</span>
+ <span class="${child["@role"]}">${child}</span>
<#elseif child?node_type = 'element' && child?node_name = "programlisting">
<pre>${child}</pre>
</#if>