summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-05-27 08:27:00 +0300
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-27 23:18:01 +0300
commitcf4e3e17aa4408331050154001476b578033adcb (patch)
treea9a915b0dfd36fd0e62467fc4329166d53438308 /xslt
parent4e2a7b4e2fc8a52821be4d870789e2f204e00e0d (diff)
downloadsubsurface-cf4e3e17aa4408331050154001476b578033adcb.tar.gz
Shearwater import: include NDL only if not zero
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/shearwater.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt
index bcd7b58bd..ccadfd1a1 100644
--- a/xslt/shearwater.xslt
+++ b/xslt/shearwater.xslt
@@ -187,7 +187,7 @@
<xsl:value-of select="concat(format-number((tank1pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
</xsl:attribute>
</xsl:if>
- <xsl:if test="currentNdl != ''">
+ <xsl:if test="currentNdl != '' and currentNdl != 0">
<xsl:attribute name="ndl">
<xsl:value-of select="concat(currentNdl, ':00 min')"/>
</xsl:attribute>