mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Export cylinder information to divelogs.de also if pressure dropped
This will export the cylinder information to divelogs.de also if there is a pressure drop of at least 5 bars. (Previously only a gas switch to the gas triggered the export of that particular cylinder.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
485fde8979
commit
1b48b19d0b
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@
|
|||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:if test="following-sibling::divecomputer/event[@name='gaschange' and @value=$gas]">
|
||||
<xsl:if test="following-sibling::divecomputer/event[@name='gaschange' and @value=$gas] or substring-before(@start, ' ') - 5 > substring-before(@end, ' ')">
|
||||
<xsl:variable name="cur_cyl">
|
||||
<xsl:value-of select="position()"/>
|
||||
</xsl:variable>
|
||||
|
|
Loading…
Add table
Reference in a new issue