[yelp-xsl] [mal2html-table] Support title and desc on table
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] [mal2html-table] Support title and desc on table
- Date: Wed, 9 Jun 2010 14:21:24 +0000 (UTC)
commit ab3ab3fc2816f9c249a79311bd17093515f42c8f
Author: Shaun McCance <shaunm gnome org>
Date: Wed Jun 9 09:21:09 2010 -0500
[mal2html-table] Support title and desc on table
xslt/common/html.xsl | 2 +-
xslt/mallard/html/mal2html-table.xsl | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 4521521..981242e 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -756,7 +756,7 @@ div.synopsis div.code {
padding: 0;
}
div.synopsis div.code > pre.contents { margin: 0; padding: 0; }
-.table {}
+div.table > div.desc { font-style: italic; }
tr.shade {
background-color: </xsl:text><xsl:value-of select="$color.gray_background"/><xsl:text>;
}
diff --git a/xslt/mallard/html/mal2html-table.xsl b/xslt/mallard/html/mal2html-table.xsl
index c07a4f2..44073fb 100644
--- a/xslt/mallard/html/mal2html-table.xsl
+++ b/xslt/mallard/html/mal2html-table.xsl
@@ -175,6 +175,7 @@ REMARK: Describe this module
<xsl:value-of select="$style"/>
</xsl:attribute>
</xsl:if>
+ <xsl:apply-templates mode="mal2html.block.mode" select="mal:title | mal:desc"/>
<xsl:apply-templates select="mal:thead">
<xsl:with-param name="cols" select="$cols"/>
<xsl:with-param name="rowrules" select="$rowrules"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]