mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Include dive duration on uddf import
Adjust to UDDF 3.2 specification Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
872ee7efab
commit
cb576e49d3
1 changed files with 2 additions and 2 deletions
|
@ -90,11 +90,11 @@
|
||||||
<xsl:value-of select="dive_number|u:informationbeforedive/u:divenumber"/>
|
<xsl:value-of select="dive_number|u:informationbeforedive/u:divenumber"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="dive_duration != '' and dive_duration != 0">
|
<xsl:if test="(dive_duration != '' and dive_duration != 0) or (u:informationafterdive/u:diveduration != '' and u:informationafterdive/u:diveduration != 0)">
|
||||||
<xsl:attribute name="duration">
|
<xsl:attribute name="duration">
|
||||||
<xsl:call-template name="timeConvert">
|
<xsl:call-template name="timeConvert">
|
||||||
<xsl:with-param name="timeSec">
|
<xsl:with-param name="timeSec">
|
||||||
<xsl:value-of select="dive_duration"/>
|
<xsl:value-of select="dive_duration|u:informationafterdive/u:diveduration"/>
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
Loading…
Reference in a new issue