mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +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"/>
|
||||
</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">
|
||||
<sample>
|
||||
<xsl:attribute name="time">
|
||||
|
@ -179,7 +186,7 @@
|
|||
</sample>
|
||||
</xsl:for-each>
|
||||
|
||||
|
||||
</divecomputer>
|
||||
|
||||
|
||||
</dive>
|
||||
|
|
Loading…
Add table
Reference in a new issue