summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-02-17 21:32:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-17 14:07:25 -0800
commit265128451f5134082cf70dec8df2b381ed3b7519 (patch)
tree6d2c82941875aeef4ae036645b4b43c0ef274136
parent169fb32484505b3a83cbdf2717a9a14a9ef5d950 (diff)
downloadsubsurface-265128451f5134082cf70dec8df2b381ed3b7519.tar.gz
Add visibility and weather to dive notes
This adds a bit more information to dive notes on DiveLog import. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--xslt/DiveLog.xslt5
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index 66a3fd061..b4bab8905 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -55,8 +55,13 @@
<xsl:value-of select="@Site"/>
</location>
+ <xsl:variable name="lf">
+ <xsl:text>
+</xsl:text>
+ </xsl:variable>
<notes>
<xsl:value-of select="notes"/>
+ <xsl:value-of select="concat($lf, 'Weather: ', @Weather, $lf, 'Visibility: ', @Visibility)"/>
</notes>
<cylinder>