diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/shearwater.xslt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt index b92a06db6..29d564bce 100644 --- a/xslt/shearwater.xslt +++ b/xslt/shearwater.xslt @@ -149,10 +149,15 @@ </xsl:attribute> </xsl:if> <xsl:if test="tank0pressurePSI != '' and tank0pressurePSI > 0 and tank0pressurePSI < 4092"> - <xsl:attribute name="pressure"> + <xsl:attribute name="pressure0"> <xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/> </xsl:attribute> </xsl:if> + <xsl:if test="tank1pressurePSI != '' and tank1pressurePSI > 0 and tank1pressurePSI < 4092"> + <xsl:attribute name="pressure1"> + <xsl:value-of select="concat(format-number((tank1pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/> + </xsl:attribute> + </xsl:if> <xsl:if test="currentNdl != ''"> <xsl:attribute name="ndl"> <xsl:value-of select="concat(currentNdl, ':00 min')"/> |