summaryrefslogtreecommitdiffstats
path: root/xslt
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 12:29:00 -0800
commit371feac82f5d8e29bb74d55c3187bd2a38a5e5e1 (patch)
tree88161761dadba0febbe65148d73e0af9a9862edc /xslt
parent4f26240b559893792d65ec57fc776285297cdd09 (diff)
downloadsubsurface-371feac82f5d8e29bb74d55c3187bd2a38a5e5e1.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>
Diffstat (limited to 'xslt')
-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>