mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Include O2 percentage in DivingLog import
Seems there is a different way to state O2 percentage in DivingLog. This patch includes that format along with the previously seen one. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b07af31ea5
commit
dbd14f8662
1 changed files with 6 additions and 0 deletions
|
@ -108,6 +108,12 @@
|
|||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="Gas != ''">
|
||||
<xsl:attribute name="o2">
|
||||
<xsl:value-of select="substring-after(substring-before(Gas, ')'), 'O2=')"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="He != ''">
|
||||
<xsl:attribute name="he">
|
||||
<xsl:value-of select="concat(He, '%')"/>
|
||||
|
|
Loading…
Reference in a new issue