mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-26 19:22:15 -05:00
xep.xsl: render status Draft as Stable in dd
This commit is contained in:
parent
b45af6d21b
commit
3f5fd31323
5
xep.xsl
5
xep.xsl
@ -262,7 +262,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
|
|||||||
<dd>© 1999 – 2021 XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd>
|
<dd>© 1999 – 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'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user