mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:03:24 +00:00
DiveLog import: Only include weight when available
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
541ec4fcac
commit
554b652d25
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</cylinder>
|
</cylinder>
|
||||||
|
|
||||||
<xsl:if test="@Weight != ''">
|
<xsl:if test="@Weight != '' and @Weight != '0.0'">
|
||||||
<weightsystem>
|
<weightsystem>
|
||||||
<xsl:attribute name="weight">
|
<xsl:attribute name="weight">
|
||||||
<xsl:call-template name="weightConvert">
|
<xsl:call-template name="weightConvert">
|
||||||
|
|
Loading…
Add table
Reference in a new issue