mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Trip support for CSV export of dive details
Debugging the tests with new test dive, I noticed that CSV export does not work, if the exported XML includes trips. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
5a7e11b0bc
commit
0acf8721d3
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
$fs)"/>
|
$fs)"/>
|
||||||
|
|
||||||
<!-- Print cylinder info according to the amount of cylinders in dive -->
|
<!-- Print cylinder info according to the amount of cylinders in dive -->
|
||||||
<xsl:for-each select="dive/cylinder">
|
<xsl:for-each select="dive/cylinder|trip/dive/cylinder">
|
||||||
<xsl:value-of select="concat(
|
<xsl:value-of select="concat(
|
||||||
'"cylinder size (cuft)"',
|
'"cylinder size (cuft)"',
|
||||||
$fs,
|
$fs,
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
$fs)"/>
|
$fs)"/>
|
||||||
|
|
||||||
<!-- Print cylinder info according to the amount of cylinders in dive -->
|
<!-- Print cylinder info according to the amount of cylinders in dive -->
|
||||||
<xsl:for-each select="dive/cylinder">
|
<xsl:for-each select="dive/cylinder|trip/dive/cylinder">
|
||||||
<xsl:value-of select="concat(
|
<xsl:value-of select="concat(
|
||||||
'"cylinder size (l)"',
|
'"cylinder size (l)"',
|
||||||
$fs,
|
$fs,
|
||||||
|
|
Loading…
Reference in a new issue