svn commit: r48157 - 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: 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 <[email protected]> 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"/>
 
_______________________________________________
[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.