svn commit: r48614 - head/en_US.ISO8859-1/htdocs/news/status

Warren Block wblock at FreeBSD.org
Wed Apr 13 17:24:53 UTC 2016


Author: wblock
Date: Wed Apr 13 17:24:52 2016
New Revision: 48614
URL: https://svnweb.freebsd.org/changeset/doc/48614

Log:
  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.

Modified:
  head/en_US.ISO8859-1/htdocs/news/status/report.xsl

Modified: head/en_US.ISO8859-1/htdocs/news/status/report.xsl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/news/status/report.xsl	Wed Apr 13 16:59:19 2016	(r48613)
+++ head/en_US.ISO8859-1/htdocs/news/status/report.xsl	Wed Apr 13 17:24:52 2016	(r48614)
@@ -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"/>


More information about the svn-doc-all mailing list