Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-30 22:09:12 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-01 16:01:56 -0500
commit304faa1f07198959bb29985de8844432459a06f9 (patch)
treec4fd575d81d9f628ebe765ef006630f20554480c /src
parent22aa59b5cf276c0fb9b6c760c8213726035eaa5e (diff)
downloadtame-304faa1f07198959bb29985de8844432459a06f9.tar.gz
tame-304faa1f07198959bb29985de8844432459a06f9.tar.bz2
tame-304faa1f07198959bb29985de8844432459a06f9.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/current/summary.css11
-rw-r--r--src/current/summary.xsl44
2 files changed, 0 insertions, 55 deletions
diff --git a/src/current/summary.css b/src/current/summary.css
index 787ee09..0e9b314 100644
--- a/src/current/summary.css
+++ b/src/current/summary.css
@@ -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;
diff --git a/src/current/summary.xsl b/src/current/summary.xsl
index 62f2db0..cb91992 100644
--- a/src/current/summary.xsl
+++ b/src/current/summary.xsl
@@ -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" />