ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1075128 - /ofbiz/trunk/applications/content/template/HelpTemplate.ftl
Date Sun, 27 Feb 2011 20:06:16 GMT
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>



Mime
View raw message