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

Warren Block <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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"/>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.