svn commit: r50341 - head/share/xml

Warren Block wblock at FreeBSD.org
Fri Jun 9 00:23:39 UTC 2017


Author: wblock
Date: Fri Jun  9 00:23:38 2017
New Revision: 50341
URL: https://svnweb.freebsd.org/changeset/doc/50341

Log:
  Correctly show version information.

Modified:
  head/share/xml/freebsd-common.xsl

Modified: head/share/xml/freebsd-common.xsl
==============================================================================
--- head/share/xml/freebsd-common.xsl	Fri Jun  9 00:00:29 2017	(r50340)
+++ head/share/xml/freebsd-common.xsl	Fri Jun  9 00:23:38 2017	(r50341)
@@ -51,21 +51,11 @@
 
   <xsl:template name="titlepage.pubdate">
     <xsl:variable name="pubdate">
-      <xsl:choose>
-	<xsl:when test="contains(., '$FreeBSD')">
-	  <xsl:value-of select="$latestrevision.timestamp"/>
-	</xsl:when>
-
-        <xsl:otherwise>
-          <xsl:value-of select="."/>
-        </xsl:otherwise>
-      </xsl:choose>
+      <xsl:value-of select="$latestrevision.timestamp"/>
     </xsl:variable>
 
     <xsl:variable name="committer">
-      <xsl:if test="contains(., '$FreeBSD')">
-	<xsl:value-of select="$latestrevision.committer"/>
-      </xsl:if>
+      <xsl:value-of select="$latestrevision.committer"/>
     </xsl:variable>
 
     <xsl:call-template name="gentext">


More information about the svn-doc-head mailing list