mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:53:23 +00:00
Add imperial unit support for temperature
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
5b422332ac
commit
0f3057d7d0
1 changed files with 6 additions and 1 deletions
|
@ -63,7 +63,12 @@
|
|||
<xsl:if test="TEMPERATURE|temperature != ''">
|
||||
<temperature>
|
||||
<xsl:attribute name="water">
|
||||
<xsl:value-of select="concat(TEMPERATURE|temperature, ' C')"/>
|
||||
<xsl:call-template name="tempConvert">
|
||||
<xsl:with-param name="temp">
|
||||
<xsl:value-of select="TEMPERATURE|temperature"/>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="units" select="$units"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</temperature>
|
||||
</xsl:if>
|
||||
|
|
Loading…
Add table
Reference in a new issue