summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-02-18 19:55:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-18 11:10:32 -0800
commitf7365015ff250052ca7d26f4c655b774f3773960 (patch)
tree2caf8f77063d082a9b4b0e60b3f6527554c6e412
parentea2eb6afe375fec61926693b179754f8d05f782f (diff)
downloadsubsurface-f7365015ff250052ca7d26f4c655b774f3773960.tar.gz
Include Boat in DiveLog import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--xslt/DiveLog.xslt3
1 files changed, 3 insertions, 0 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index b4bab8905..9855ae34e 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -62,6 +62,9 @@
<notes>
<xsl:value-of select="notes"/>
<xsl:value-of select="concat($lf, 'Weather: ', @Weather, $lf, 'Visibility: ', @Visibility)"/>
+ <xsl:if test="@Boat != '' and @Boat != ' '">
+ <xsl:value-of select="concat($lf, 'Boat: ', @Boat)"/>
+ </xsl:if>
</notes>
<cylinder>