Add a new <partialsponsor> tag, with PBS-style wording. Also change the

"is" in the supported-by phrase to "was".  "Was" might not be quite
right either, but "is" implies ongoing support.
This commit is contained in:
Warren Block 2016-04-13 17:24:52 +00:00
parent 0f0a68233c
commit a5769b5604
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48614

View file

@ -132,7 +132,23 @@
</xsl:for-each>
</xsl:variable>
<p>This project is sponsored by <xsl:value-of select="$sponsors"/></p>
<p>This project was sponsored by <xsl:value-of select="$sponsors"/></p>
</xsl:if>
<xsl:if test="partialsponsor">
<xsl:variable name="partialsponsors">
<xsl:for-each select="partialsponsor">
<xsl:value-of select="normalize-space()"/>
<xsl:choose>
<xsl:when test="position() = last()">.</xsl:when>
<xsl:when test="position() = (last() - 1)">, and </xsl:when>
<xsl:when test="position() &lt; (last() - 1)">, </xsl:when>
<xsl:otherwise>.</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
<p>This project was sponsored in part by <xsl:value-of select="$partialsponsors"/></p>
</xsl:if>
<xsl:apply-templates select="help"/>