mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 09:12:19 -05:00
xep.xsl: Show new status 'Stable' instead of 'Draft' in appendix
This commit is contained in:
parent
7c46fc60c0
commit
fda950162f
4
xep.xsl
4
xep.xsl
@ -333,7 +333,11 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
|
|||||||
<dt>Status</dt>
|
<dt>Status</dt>
|
||||||
<dd><a>
|
<dd><a>
|
||||||
<xsl:attribute name='href'><xsl:text>https://xmpp.org/extensions/xep-0001.html#states-</xsl:text><xsl:value-of select='/xep/header/status'/></xsl:attribute>
|
<xsl:attribute name='href'><xsl:text>https://xmpp.org/extensions/xep-0001.html#states-</xsl:text><xsl:value-of select='/xep/header/status'/></xsl:attribute>
|
||||||
|
<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:value-of select='/xep/header/status'/>
|
<xsl:value-of select='/xep/header/status'/>
|
||||||
|
</xsl:choose>
|
||||||
</a></dd>
|
</a></dd>
|
||||||
<dt>Type</dt>
|
<dt>Type</dt>
|
||||||
<dd><a>
|
<dd><a>
|
||||||
|
Loading…
Reference in New Issue
Block a user