aboutsummaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2021-02-16 18:37:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-17 07:04:25 -0800
commitbaee988d75d4d650f881184ab9f2755a29d52d0a (patch)
tree536a4b4317967aaeaa7c75fdaeefc587665789a8 /xslt
parent2936aa6aa0b76dce666f3d6c9f9f628d4f6b910a (diff)
downloadsubsurface-baee988d75d4d650f881184ab9f2755a29d52d0a.tar.gz
As last resort, use the site name as location
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/divelogs-export.xslt3
1 files changed, 3 insertions, 0 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index 1bcf6e057..1ef49c325 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -67,6 +67,9 @@
</LOCATION>
</xsl:when>
<xsl:otherwise>
+ <SITE>
+ <xsl:value-of select="$location"/>
+ </SITE>
</xsl:otherwise>
</xsl:choose>