summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2012-08-22 01:15:41 +0200
committerGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2012-08-22 01:15:41 +0200
commit0c0ec7e4f60d9678c3950757ccb8f791f10d033c (patch)
treec0bc02a006629b9aff242a5ffe08e0d0a16e20b2 /xslt
parent2cada118eb515e369ba23b85c8f3fb8c4d100aaa (diff)
parent666538ec7739fe839623bd1b6f9f80ff884ad5a9 (diff)
downloadsubsurface-0c0ec7e4f60d9678c3950757ccb8f791f10d033c.tar.gz
Merge branch 'master' into freediving-tweaks
Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/jdivelog2subsurface.xslt21
1 files changed, 15 insertions, 6 deletions
diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt
index e2f40c560..6e85cbfbc 100644
--- a/xslt/jdivelog2subsurface.xslt
+++ b/xslt/jdivelog2subsurface.xslt
@@ -64,6 +64,21 @@
</buddy>
</xsl:if>
+ <xsl:if test="Equipment/Suit != ''">
+ <suit>
+ <xsl:value-of select="Equipment/Suit"/>
+ </suit>
+ <xsl:value-of select="Equipment/Suit"/>
+ </xsl:if>
+
+ <xsl:if test="Equipment/Weight != ''">
+ <weightsystem>
+ <xsl:attribute name="weight">
+ <xsl:value-of select="Equipment/Weight"/>
+ </xsl:attribute>
+ </weightsystem>
+ </xsl:if>
+
<notes>
<xsl:if test="DiveActivity != ''">
Diveactivity: <xsl:value-of select="DiveActivity"/>
@@ -74,15 +89,9 @@ Divetype: <xsl:value-of select="DiveType"/>
<xsl:if test="Equipment/Visibility != ''">
Visibility: <xsl:value-of select="Equipment/Visibility"/>
</xsl:if>
- <xsl:if test="Equipment/Suit != ''">
-Suit: <xsl:value-of select="Equipment/Suit"/>
- </xsl:if>
<xsl:if test="Equipment/Gloves != ''">
Gloves: <xsl:value-of select="Equipment/Gloves"/>
</xsl:if>
- <xsl:if test="Equipment/Weight != ''">
-Weight: <xsl:value-of select="Equipment/Weight"/>
- </xsl:if>
<xsl:if test="Comment != ''">
Comment: <xsl:value-of select="Comment"/>
</xsl:if>