Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 18:45:13 +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: r48157 - head/en_US.ISO8859-1/htdocs/news/status
Message-ID:  <201602081845.u18IjDsb092093@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wblock
Date: Mon Feb  8 18:45:13 2016
New Revision: 48157
URL: https://svnweb.freebsd.org/changeset/doc/48157

Log:
  Add href attributes to project titles to make them linkable.  Suggested
  by Christian Schwarz <me@cschwarz.com> in freebsd-doc.

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	Mon Feb  8 17:18:03 2016	(r48156)
+++ head/en_US.ISO8859-1/htdocs/news/status/report.xsl	Mon Feb  8 18:45:13 2016	(r48157)
@@ -98,8 +98,10 @@
   <xsl:template match="project">
     <h2><a>
 	<xsl:attribute name="name"><xsl:value-of
-	  select="translate(title, ' ', '-')"/></xsl:attribute><xsl:value-of
-	  select="title"/></a></h2>
+	  select="translate(title, ' ', '-')"/></xsl:attribute>
+	  <xsl:attribute name="href">#<xsl:value-of
+	  select="translate(title, ' ', '-')"/></xsl:attribute>
+	  <xsl:value-of select="title"/></a></h2>
 
     <xsl:apply-templates select="links"/>
 



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