svn commit: r591259 - /lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Nov  2 01:41:56 2007
New Revision: 591259

URL: http://svn.apache.org/viewvc?rev=591259&view=rev
Log:
Improved layout

Modified:
    lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl

Modified: lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl?rev=591259&r1=591258&r2=591259&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl Fri Nov  2 01:41:56 2007
@@ -128,16 +128,14 @@
   </xsl:template>
   
   
-  <xsl:template match="warning|note">
+  <xsl:template match="warning|note|fixme">
+    <div class="{local-name()}Title">
+      <xsl:value-of select="local-name()"/>
+      <xsl:if test="self::fixme">
+        (author: <xsl:value-of select="@author"/>)
+      </xsl:if>
+    </div>
     <p class="{local-name()}">
-      <xsl:apply-templates/>
-    </p>
-  </xsl:template>
-  
-  
-  <xsl:template match="fixme">
-    <p class="{local-name()}">
-      <span class="paragraphType">FixMe (author: <xsl:value-of select="@author"/>): </span>
       <xsl:apply-templates/>
     </p>
   </xsl:template>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.