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:
parent
0f0a68233c
commit
a5769b5604
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48614
1 changed files with 17 additions and 1 deletions
|
@ -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() < (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"/>
|
||||
|
|
Loading…
Reference in a new issue