- fix the case when no information about location of the event is provided

Reported by:	murray
Reviewed by:	keramida, murray
This commit is contained in:
Daniel Gerzo 2009-01-25 10:12:01 +00:00
parent 54c3f186b0
commit 8b49389fae
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=33750

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.24 2009/01/04 22:20:04 simon Exp $ -->
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.25 2009/01/13 22:44:00 lwhsu Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
@ -1428,7 +1428,9 @@
<xsl:value-of select="name"/>
<br />
(<xsl:value-of select='location/city' />, <xsl:value-of select='location/country' />)
<xsl:if test="location/city!='' and location/country!=''">
(<xsl:value-of select='location/city' />, <xsl:value-of select='location/country' />)
</xsl:if>
</a></p>
</xsl:if>
</xsl:for-each>