diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2018-05-27 08:27:00 +0300 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-27 23:18:01 +0300 |
commit | cf4e3e17aa4408331050154001476b578033adcb (patch) | |
tree | a9a915b0dfd36fd0e62467fc4329166d53438308 /xslt | |
parent | 4e2a7b4e2fc8a52821be4d870789e2f204e00e0d (diff) | |
download | subsurface-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.xslt | 2 |
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> |