Permalink
Browse files

Updated markup for widget options.

  • Loading branch information...
1 parent f8fd844 commit f0112bc7a0d314946585e9e851e153fe4b5709b4 @scottgonzalez scottgonzalez committed Sep 6, 2012
Showing with 7 additions and 9 deletions.
  1. +7 −9 entries2html-base.xsl
View
@@ -318,12 +318,12 @@
<h3>
<xsl:value-of select="@name"/>
+ <span class="option-type">
+ <strong>Type: </strong>
+ <xsl:call-template name="render-types"/>
+ </span>
</h3>
- <div>
- <strong>Type: </strong>
- <xsl:call-template name="render-types"/>
- </div>
- <div>
+ <div class="default">
<strong>Default: </strong>
<code><xsl:value-of select="@default"/></code>
</div>
@@ -584,8 +584,6 @@
<xsl:if test="@type = 'Function'">
<xsl:call-template name="render-type-function"/>
</xsl:if>
- <!--<xsl:text>: </xsl:text>
- <xsl:call-template name="render-types"/>-->
</xsl:for-each>
<xsl:text> </xsl:text>
</xsl:if>
@@ -600,7 +598,7 @@
<!-- return attribute -->
<xsl:if test="@return">
<xsl:call-template name="render-type">
- <xsl:with-param name="typename" select="@return" />
+ <xsl:with-param name="typename" select="@return"/>
</xsl:call-template>
</xsl:if>
@@ -610,7 +608,7 @@
<xsl:if test="position() &gt; 1">
<strong>ERROR: A single return element is expected</strong>
</xsl:if>
- <xsl:call-template name="render-types" />
+ <xsl:call-template name="render-types"/>
</xsl:for-each>
</xsl:if>
</xsl:template>

0 comments on commit f0112bc

Please sign in to comment.