fluidsettings: report boolean settings as int

This commit is contained in:
derselbst 2018-06-17 20:02:46 +02:00
parent b6b6931468
commit 109db1484b

View file

@ -103,7 +103,14 @@ td
<th class="first-row">Type</th> <th class="first-row">Type</th>
<td class="cell-type first-row"> <td class="cell-type first-row">
<xsl:value-of select="type" /> <xsl:choose>
<xsl:when test="type = 'bool'">
int (bool)
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="type" />
</xsl:otherwise>
</xsl:choose>
</td> </td>
</tr> </tr>
@ -163,7 +170,7 @@ td
<xsl:value-of select="vals" /> <xsl:value-of select="vals" />
</xsl:when> </xsl:when>
<xsl:when test="type = 'bool'"> <xsl:when test="type = 'bool'">
1, "yes", 0, "no" 1, 0
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="min" /> <xsl:value-of select="min" />