Add dive mode support for SubsurfaceCSV import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2020-05-24 17:29:02 +03:00 committed by Dirk Hohndel
parent a41a8c1065
commit a1c59260bc

View file

@ -142,7 +142,15 @@
</xsl:attribute>
</xsl:if>
<divecomputerid deviceid="ffffffff" model="csv" />
<divecomputer deviceid="ffffffff" model="SubsurfaceCSV">
<xsl:attribute name="dctype">
<xsl:call-template name="getFieldByIndex">
<xsl:with-param name="index" select="7"/>
<xsl:with-param name="line" select="$line"/>
</xsl:call-template>
</xsl:attribute>
</divecomputer>
<depth>
<xsl:variable name="max">