summaryrefslogtreecommitdiff
path: root/lib/erl_docgen/priv/xsl/db_html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_html.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl24
1 files changed, 22 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index f47b294ea9..77b301347a 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -3,7 +3,7 @@
#
# %CopyrightBegin%
#
- # Copyright Ericsson AB 2009-2021. All Rights Reserved.
+ # Copyright Ericsson AB 2009-2023. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1251,10 +1251,15 @@
<xsl:template match="taglist/tag">
<xsl:param name="chapnum"/>
- <dt>
+ <dt class="title-link">
<strong>
<xsl:apply-templates/>
</strong>
+ <xsl:if test="string-length(@since) > 0">
+ <div class="title-since since">
+ <xsl:value-of select="@since"/>
+ </div>
+ </xsl:if>
</dt>
</xsl:template>
@@ -1283,6 +1288,21 @@
</div>
</xsl:template>
+ <!-- Change -->
+ <xsl:template match="change">
+ <xsl:param name="chapnum"/>
+ <div class="change">
+ <div class="label">Change</div>
+ <div class="content">
+ <p>
+ <xsl:apply-templates>
+ <xsl:with-param name="chapnum" select="$chapnum"/>
+ </xsl:apply-templates>
+ </p>
+ </div>
+ </div>
+ </xsl:template>
+
<!-- Warning -->
<xsl:template match="warning">
<xsl:param name="chapnum"/>