Make the comments link always appear under "See also" in the right panel of each doc page.

Previously it was inconsistently placed right below the last section on top.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741557 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luca Toscano
2016-04-29 06:31:53 +00:00
parent b4ff39c9b6
commit 41df726ba7
2 changed files with 21 additions and 20 deletions

View File

@ -61,7 +61,10 @@
</ul> </ul>
</xsl:if> </xsl:if>
<xsl:if test="seealso"> <!-- The seealso section shows links to related documents
explicitly set in .xml docs or simply the comments. -->
<xsl:if test="seealso or not($is-chm or $is-zip or
$metafile/basename = 'index')">
<h3> <h3>
<xsl:value-of <xsl:value-of
select="$message[@id='seealso']" /> select="$message[@id='seealso']" />
@ -72,13 +75,11 @@
<xsl:apply-templates /> <xsl:apply-templates />
</li> </li>
</xsl:for-each> </xsl:for-each>
</ul>
</xsl:if>
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')"> <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
<ul class="seealso">
<li><a href="#comments_section"><xsl:value-of <li><a href="#comments_section"><xsl:value-of
select="$message[@id='comments']" /></a> select="$message[@id='comments']" /></a>
</li> </li>
</xsl:if>
</ul> </ul>
</xsl:if> </xsl:if>
</div>&lf; <!-- /#quickview --> </div>&lf; <!-- /#quickview -->

View File

@ -289,8 +289,10 @@
</a> </a>
</li> </li>
</ul> </ul>
<!-- The seealso section shows links to related documents
<xsl:if test="seealso"> explicitly set in .xml docs or simply the comments. -->
<xsl:if test="seealso or not($is-chm or $is-zip or
$metafile/basename = 'index')">
<h3> <h3>
<xsl:value-of select="$message <xsl:value-of select="$message
[@id='seealso']" /> [@id='seealso']" />
@ -302,13 +304,11 @@
<xsl:apply-templates /> <xsl:apply-templates />
</li>&lf; </li>&lf;
</xsl:for-each> </xsl:for-each>
</ul>
</xsl:if>
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')"> <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
<ul class="seealso">
<li><a href="#comments_section"><xsl:value-of <li><a href="#comments_section"><xsl:value-of
select="$message[@id='comments']" /></a> select="$message[@id='comments']" /></a>
</li> </li>
</xsl:if>
</ul> </ul>
</xsl:if> </xsl:if>
</div> <!-- /#quickview --> </div> <!-- /#quickview -->