summary: Remove rate-group processing
* src/current/summary.css (.rate-group, .rate-groups): Remove. * src/current/summary.xsl (gen-menu): Remove rate-group processing. (rate-group-title): Remove. (lv:rate-group): Remove.master
parent
22aa59b5cf
commit
304faa1f07
|
@ -293,17 +293,6 @@ fieldset
|
|||
border-bottom-color: #75507b;
|
||||
}
|
||||
|
||||
.package h4.rate-group
|
||||
{
|
||||
border-bottom: 1px dashed #babdb6;
|
||||
margin-top: 3em;
|
||||
margin-left: -0.5em;
|
||||
}
|
||||
.rate-groups .generates
|
||||
{
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.package > .title > .imports
|
||||
{
|
||||
position: absolute;
|
||||
|
|
|
@ -457,7 +457,6 @@
|
|||
</xsl:message>
|
||||
</xsl:if>
|
||||
|
||||
<!-- first output any rate blocks are are ungrouped -->
|
||||
<xsl:for-each select="$src/lv:rate[ @yields=$rates/@name ]">
|
||||
<li>
|
||||
<a href="#{@yields}" class="sym-ref sym-rate">
|
||||
|
@ -465,29 +464,6 @@
|
|||
</a>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
|
||||
<!-- finally, grouped ones -->
|
||||
<xsl:for-each select="$src/lv:rate-group">
|
||||
<xsl:variable name="grates" select="
|
||||
lv:rate[ @yields=$rates/@name ]
|
||||
" />
|
||||
|
||||
<xsl:if test="$grates">
|
||||
<li class="rate-group">
|
||||
<xsl:value-of select="@desc" />
|
||||
|
||||
<ul>
|
||||
<xsl:for-each select="$grates">
|
||||
<li>
|
||||
<a href="#{@yields}">
|
||||
<xsl:value-of select="@yields" />
|
||||
</a>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</li>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
@ -865,26 +841,6 @@
|
|||
</xsl:template>
|
||||
|
||||
|
||||
<!-- necessary since the first rate-group may be matched for the premium
|
||||
calculation heading -->
|
||||
<xsl:template match="lv:rate-group">
|
||||
<xsl:apply-templates select="." mode="rate-group-title" />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="lv:rate-group" mode="rate-group-title">
|
||||
<xsl:call-template name="_debug">
|
||||
<xsl:with-param name="text">
|
||||
<xsl:text>processing rate group "</xsl:text>
|
||||
<xsl:value-of select="@desc" />
|
||||
<xsl:text>"</xsl:text>
|
||||
</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<!-- process children -->
|
||||
<xsl:apply-templates />
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="lv:rate" mode="gen-class-use-list">
|
||||
<a href="#{@yields}">
|
||||
<xsl:value-of select="@yields" />
|
||||
|
|
Loading…
Reference in New Issue