Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 00:23:38 +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: r50341 - head/share/xml
Message-ID:  <201706090023.v590NcXO069397@repo.freebsd.org>

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



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