- Fix base selection for news, events and press lists on the index page for
languages that do not have a translation of these PR: www/105333 Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
This commit is contained in:
parent
5daa221a87
commit
7a47895d99
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43631
1 changed files with 9 additions and 1 deletions
|
@ -1197,6 +1197,10 @@
|
|||
</span><br />
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$news.project.xml = $news.project.xml-master">&enbase;/</xsl:when>
|
||||
<xsl:otherwise>&base;/</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text>news/newsflash.html#</xsl:text>
|
||||
<xsl:call-template name="html-news-generate-anchor">
|
||||
<xsl:with-param name="label" select="'event'" />
|
||||
|
@ -1311,6 +1315,10 @@
|
|||
</span><br />
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$news.press.xml = $news.press.xml-master">&enbase;/</xsl:when>
|
||||
<xsl:otherwise>&base;/</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text>news/press.html#</xsl:text>
|
||||
<xsl:call-template name="html-news-generate-anchor">
|
||||
<xsl:with-param name="label" select="'story'" />
|
||||
|
@ -1429,7 +1437,7 @@
|
|||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$events.xml = 'none'">&enbase;/</xsl:when>
|
||||
<xsl:when test="$events.xml = $events.xml-master">&enbase;/</xsl:when>
|
||||
<xsl:otherwise>&base;/</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text>events/#</xsl:text>
|
||||
|
|
Loading…
Reference in a new issue