mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Fix dive notes import from Suundo SDM
The xslt translation didn't add the <notes> tag for the notes, so while it did select the notes from the SDM file, that never made it into the subsurface notes. Also added weather info to the notes, mainly as an example. There are probably other things we could do, but this fixes at least the trivial test-case from Szymon Kosecki. Reported-by: Szymon Kosecki <skosecki@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7f426f0c5e
commit
12f2c2ed5c
1 changed files with 5 additions and 0 deletions
|
@ -62,9 +62,14 @@
|
|||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
<notes>
|
||||
<xsl:if test="LOGNOTES != ''">
|
||||
<xsl:value-of select="LOGNOTES" />
|
||||
</xsl:if>
|
||||
<xsl:if test="WEATHER != ''">
|
||||
Weather: <xsl:value-of select="WEATHER" />
|
||||
</xsl:if>
|
||||
</notes>
|
||||
|
||||
<!-- FIXME: add support for multiple cylinders, need sample data -->
|
||||
<cylinder>
|
||||
|
|
Loading…
Reference in a new issue