You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/02/27 21:06:16 UTC

svn commit: r1075128 - /ofbiz/trunk/applications/content/template/HelpTemplate.ftl

Author: erwan
Date: Sun Feb 27 20:06:15 2011
New Revision: 1075128

URL: http://svn.apache.org/viewvc?rev=1075128&view=rev
Log:
Manage emphasis tag with a role attribute (generate a span class= and programlisting tag (HTML pre tag) for docbook documentation

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=1075128&r1=1075127&r2=1075128&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
+++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Sun Feb 27 20:06:15 2011
@@ -34,6 +34,10 @@ under the License.
      <@itemizedlist node=child/>
     <#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>
+    <#elseif child?node_type = 'element' && child?node_name = "programlisting">
+      <pre>${child}</pre>
     </#if>
   </#list>
 </#macro>