diff xslt/content.xslt @ 778:cd73f6e9aaf3

Donation page refactored: multi-column layout, donated sums ranges.
author Maxim Konovalov <maxim@nginx.com>
date Mon, 10 Dec 2012 10:45:23 +0000
parents 1f58eb09aa8c
children c454373427ef
line wrap: on
line diff
--- a/xslt/content.xslt
+++ b/xslt/content.xslt
@@ -293,9 +293,19 @@
       </table>
    </xsl:template>
 
-   <xsl:template match="table"> 
+   <xsl:template match="table">
+
       <table width="100%">
+
+         <xsl:if test="@class">
+
+            <xsl:attribute name="class">
+               <xsl:value-of select="@class"/>
+            </xsl:attribute>
+         </xsl:if>
+
          <xsl:apply-templates/>
+
       </table>
    </xsl:template>