mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
JDiveLog import - add ndl=0 when on deco
This patch will add ndl='0:00 min' attribute on all the samples that have stoptime or stopdepth set when importing from JDiveLog. This hack ensures that dive computer's deco ceiling is shown. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ce659407a8
commit
48de523f15
1 changed files with 3 additions and 0 deletions
|
@ -294,6 +294,9 @@ Comment: <xsl:value-of select="Comment"/>
|
|||
<xsl:attribute name="stopdepth">
|
||||
<xsl:value-of select="concat(following-sibling::DECOINFO[1], ' m')"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="ndl">
|
||||
<xsl:value-of select="'0:00 min'"/>
|
||||
</xsl:attribute>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
|
|
Loading…
Reference in a new issue