diff options
author | Maximilian Güntner <maximilian.guentner@gmail.com> | 2012-08-22 01:15:41 +0200 |
---|---|---|
committer | Maximilian Güntner <maximilian.guentner@gmail.com> | 2012-08-22 01:15:41 +0200 |
commit | 0c0ec7e4f60d9678c3950757ccb8f791f10d033c (patch) | |
tree | c0bc02a006629b9aff242a5ffe08e0d0a16e20b2 /xslt | |
parent | 2cada118eb515e369ba23b85c8f3fb8c4d100aaa (diff) | |
parent | 666538ec7739fe839623bd1b6f9f80ff884ad5a9 (diff) | |
download | subsurface-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.xslt | 21 |
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> |