1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-23 01:32:22 -05:00

xep.xsl: render status Draft as Stable in dd

This commit is contained in:
Jonas Schäfer 2022-01-19 17:54:12 +01:00
parent b45af6d21b
commit 3f5fd31323

View File

@ -262,7 +262,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<dd>&#169; 1999 &#x2013; 2021 XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd> <dd>&#169; 1999 &#x2013; 2021 XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd>
<dt>Status</dt> <dt>Status</dt>
<dd> <dd>
<p><xsl:value-of select='/xep/header/status'/></p> <p><xsl:choose>
<xsl:when test='string(/xep/header/status) = "Draft"'>Stable</xsl:when>
<xsl:otherwise><xsl:value-of select='/xep/header/status'/></xsl:otherwise>
</xsl:choose></p>
<xsl:call-template name='status-notice'> <xsl:call-template name='status-notice'>
<xsl:with-param name='thestatus' select='/xep/header/status'/> <xsl:with-param name='thestatus' select='/xep/header/status'/>
<xsl:with-param name='thetype' select='/xep/header/type'/> <xsl:with-param name='thetype' select='/xep/header/type'/>