Make the "right box" a bit less cluttered:
- Removing the announcement links for the 5.X and the 4.X releases. - Point the title link for the 5.X release to the announcement, as it is already the case for the 4.X release. - Only show the 5 first items from the project news and the press sections. Reviewed by: hrs
This commit is contained in:
parent
c86f7fc2c5
commit
a3f66a062f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=21281
2 changed files with 10 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<!-- $FreeBSD: www/share/sgml/includes.misc.xsl,v 1.11 2004/06/27 06:22:31 hrs Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/includes.misc.xsl,v 1.12 2004/06/27 08:28:21 hrs Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
|
|
@ -279,12 +279,12 @@
|
|||
</xsl:template>
|
||||
|
||||
<!-- template: "html-index-news-project-items"
|
||||
pulls in the 10 most recent project items -->
|
||||
pulls in the 5 most recent project items -->
|
||||
|
||||
<xsl:template name="html-index-news-project-items">
|
||||
<xsl:param name="news.project.xml" select="''" />
|
||||
|
||||
<xsl:for-each select="document($news.project.xml)/descendant::event[position() <= 10]">
|
||||
<xsl:for-each select="document($news.project.xml)/descendant::event[position() <= 5]">
|
||||
<xsl:value-of select="$leadingmark" /><a>
|
||||
<xsl:attribute name="href">
|
||||
news/newsflash.html#<xsl:call-template name="generate-event-anchor"/>
|
||||
|
|
@ -319,12 +319,12 @@
|
|||
</xsl:template>
|
||||
|
||||
<!-- template: "html-index-news-press-items"
|
||||
pulls in the 10 most recent press items -->
|
||||
pulls in the 5 most recent press items -->
|
||||
|
||||
<xsl:template name="html-index-news-press-items">
|
||||
<xsl:param name="news.press.xml" select="''" />
|
||||
|
||||
<xsl:for-each select="document($news.press.xml)/descendant::story[position() < 10]">
|
||||
<xsl:for-each select="document($news.press.xml)/descendant::story[position() <= 5]">
|
||||
<xsl:value-of select="$leadingmark" /><a>
|
||||
<xsl:attribute name="href">
|
||||
news/press.html#<xsl:call-template name="generate-story-anchor"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue