mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Include weight system on uddf import
Adjust to UDDF 3.2 specification Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a06ce34123
commit
2307acd37f
1 changed files with 2 additions and 2 deletions
|
@ -224,10 +224,10 @@
|
|||
</notes>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="equipment_used/weight_used > 0">
|
||||
<xsl:if test="equipment_used/weight_used|u:informationafterdive/u:equipmentused/u:leadquantity > 0">
|
||||
<weightsystem description="unknown">
|
||||
<xsl:attribute name="weight">
|
||||
<xsl:value-of select="concat(format-number(equipment_used/weight_used, '0.0'), ' kg')"/>
|
||||
<xsl:value-of select="concat(format-number(equipment_used/weight_used|u:informationafterdive/u:equipmentused/u:leadquantity, '0.0'), ' kg')"/>
|
||||
</xsl:attribute>
|
||||
</weightsystem>
|
||||
</xsl:if>
|
||||
|
|
Loading…
Reference in a new issue