1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

xep.xsl: Show new status 'Stable' instead of 'Draft' in appendix

This commit is contained in:
Melvin Keskin 2022-08-05 13:25:52 +02:00
parent 7c46fc60c0
commit fda950162f
No known key found for this signature in database
GPG Key ID: 04EFAD0F7A4D9724

View File

@ -333,7 +333,11 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<dt>Status</dt>
<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:value-of select='/xep/header/status'/>
<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:choose>
</a></dd>
<dt>Type</dt>
<dd><a>