mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CSV import: import dive number if defined
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7ec83ef02a
commit
304af311f0
2 changed files with 13 additions and 2 deletions
|
@ -101,6 +101,15 @@
|
|||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:if test="$numberField >= 0">
|
||||
<xsl:attribute name="number">
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
<xsl:with-param name="index" select="$numberField"/>
|
||||
<xsl:with-param name="line" select="substring-after(substring-after(., $lf), $lf)"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<!-- If the dive is CCR, create oxygen and diluent cylinders -->
|
||||
|
||||
<xsl:if test="$po2Field >= 0 or $setpointField >= 0 or $o2sensor1Field >= 0 or $o2sensor2Field >= 0 or $o2sensor3Field >= 0">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue