Shearwater import: include NDL only if not zero

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2018-05-27 08:27:00 +03:00 committed by Lubomir I. Ivanov
parent 4e2a7b4e2f
commit cf4e3e17aa

View file

@ -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>