summaryrefslogtreecommitdiffstats
path: root/xslt/shearwater.xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-05-30 18:54:05 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-30 13:25:08 -0700
commitafb45a216c7021f38c93c81576ff27d9c2f9b483 (patch)
tree8ae9fbc4e889add061794fda53e5c2b89ea7d75c /xslt/shearwater.xslt
parentfcc69103becd726463ac0e87d5d5299f6491619c (diff)
downloadsubsurface-afb45a216c7021f38c93c81576ff27d9c2f9b483.tar.gz
Import NDL from Shearwater Desktop
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt/shearwater.xslt')
-rw-r--r--xslt/shearwater.xslt5
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt
index fe0c75e52..b92a06db6 100644
--- a/xslt/shearwater.xslt
+++ b/xslt/shearwater.xslt
@@ -153,6 +153,11 @@
<xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
</xsl:attribute>
</xsl:if>
+ <xsl:if test="currentNdl != ''">
+ <xsl:attribute name="ndl">
+ <xsl:value-of select="concat(currentNdl, ':00 min')"/>
+ </xsl:attribute>
+ </xsl:if>
</sample>
</xsl:for-each>
</divecomputer>