mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add suit field for CSV import
Fixes #853 [Dirk Hohndel: fixed test compile] Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
415abeea66
commit
c80d1879b7
5 changed files with 22 additions and 7 deletions
|
@ -17,6 +17,7 @@
|
|||
<xsl:param name="meanDepthField" select="meanDepthField"/>
|
||||
<xsl:param name="divemasterField" select="divemasterField"/>
|
||||
<xsl:param name="buddyField" select="buddyField"/>
|
||||
<xsl:param name="suitField" select="suitField"/>
|
||||
<xsl:param name="notesField" select="notesField"/>
|
||||
<xsl:param name="weightField" select="weightField"/>
|
||||
<xsl:param name="dateformat" select="dateformat"/>
|
||||
|
@ -343,6 +344,15 @@
|
|||
</buddy>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$suitField >= 0">
|
||||
<suit>
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
<xsl:with-param name="index" select="$suitField"/>
|
||||
<xsl:with-param name="line" select="$line"/>
|
||||
</xsl:call-template>
|
||||
</suit>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$notesField >= 0">
|
||||
<notes>
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue