summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-02-18 19:55:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-18 11:11:03 -0800
commit554b652d25d9ce853c4f8f2044f80ab1b198fb1b (patch)
tree22ebc60f2d711bf9bbc436350db065a9242e3239 /xslt
parent541ec4fcac56aa13ea09bd8a4a30902d6f5109af (diff)
downloadsubsurface-554b652d25d9ce853c4f8f2044f80ab1b198fb1b.tar.gz
DiveLog import: Only include weight when availablev4.4.1
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.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index 7d21b10bd..b94e28796 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -128,7 +128,7 @@
</xsl:if>
</cylinder>
- <xsl:if test="@Weight != ''">
+ <xsl:if test="@Weight != '' and @Weight != '0.0'">
<weightsystem>
<xsl:attribute name="weight">
<xsl:call-template name="weightConvert">