Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 17:24:52 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r48614 - head/en_US.ISO8859-1/htdocs/news/status
Message-ID:  <201604131724.u3DHOqXr026034@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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() &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"/>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604131724.u3DHOqXr026034>