mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Include empty location and gps if non is given
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f9b7b9bba0
commit
663f6eef0b
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@
|
|||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:apply-templates select="location"/>
|
||||
<xsl:if test="string-length(location) = 0">
|
||||
<xsl:value-of select="$fs"/>
|
||||
<xsl:text>""</xsl:text>
|
||||
<xsl:value-of select="$fs"/>
|
||||
<xsl:text>""</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates select="divemaster"/>
|
||||
<xsl:apply-templates select="buddy"/>
|
||||
<xsl:apply-templates select="suit"/>
|
||||
|
|
Loading…
Reference in a new issue