mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
DivingLog import: keep the dive computer name around
We simply set up the model attribute. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6d69325185
commit
881baafc26
1 changed files with 8 additions and 1 deletions
|
@ -148,6 +148,13 @@
|
||||||
<xsl:value-of select="Comments"/>
|
<xsl:value-of select="Comments"/>
|
||||||
</notes>
|
</notes>
|
||||||
|
|
||||||
|
<divecomputer>
|
||||||
|
<xsl:if test="Computer != ''">
|
||||||
|
<xsl:attribute name="model">
|
||||||
|
<xsl:value-of select="Computer"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:for-each select="Profile/P">
|
<xsl:for-each select="Profile/P">
|
||||||
<sample>
|
<sample>
|
||||||
<xsl:attribute name="time">
|
<xsl:attribute name="time">
|
||||||
|
@ -179,7 +186,7 @@
|
||||||
</sample>
|
</sample>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
|
</divecomputer>
|
||||||
|
|
||||||
|
|
||||||
</dive>
|
</dive>
|
||||||
|
|
Loading…
Add table
Reference in a new issue