forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 36163 - in forrest/trunk/src/core/context/skins: crust/xslt/html tigris/xslt/html
Date Tue, 10 Aug 2004 07:34:40 GMT
Author: crossley
Date: Tue Aug 10 00:34:39 2004
New Revision: 36163

Modified:
   forrest/trunk/src/core/context/skins/crust/xslt/html/document2html.xsl
   forrest/trunk/src/core/context/skins/tigris/xslt/html/document2html.xsl
Log:
Render the header/abstract element.
Submitted by: Diwaker Gupta
Issue: FOR-252


Modified: forrest/trunk/src/core/context/skins/crust/xslt/html/document2html.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/crust/xslt/html/document2html.xsl	(original)
+++ forrest/trunk/src/core/context/skins/crust/xslt/html/document2html.xsl	Tue Aug 10 00:34:39
2004
@@ -54,6 +54,11 @@
           <xsl:value-of select="header/subtitle"/>
         </h3>
       </xsl:if>
+      <xsl:if test="header/abstract">
+        <div class="abstract">
+          <xsl:value-of select="header/abstract"/>
+        </div>
+      </xsl:if>
 
       <xsl:apply-templates select="body"/>
 

Modified: forrest/trunk/src/core/context/skins/tigris/xslt/html/document2html.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/tigris/xslt/html/document2html.xsl	(original)
+++ forrest/trunk/src/core/context/skins/tigris/xslt/html/document2html.xsl	Tue Aug 10 00:34:39
2004
@@ -70,6 +70,11 @@
       <xsl:if test="normalize-space(header/subtitle)!=''">
         <h3><em><xsl:value-of select="header/subtitle"/></em></h3>
       </xsl:if>
+      <xsl:if test="header/abstract">
+        <div class="abstract">
+          <xsl:value-of select="header/abstract"/>
+        </div>
+      </xsl:if>
 
       <div id="projecthome" class="app">
         <xsl:apply-templates select="body"/>

Mime
View raw message