Bugfix for Foundry: Don't render the HTML for the pagniator on the search results page when there is not paginator
git-svn-id: https://svn.libreccm.org/ccm/trunk@5109 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
67328f8b1a
commit
581be75360
|
|
@ -39,11 +39,13 @@
|
|||
|
||||
<!-- Show the result on admin pages -->
|
||||
<xsl:template match="search:results">
|
||||
<xsl:if test="./search:paginator">
|
||||
<div class="paginator">
|
||||
<xsl:apply-templates select="./search:paginator" mode="navbar"/>
|
||||
<xsl:text> | </xsl:text>
|
||||
<xsl:apply-templates select="./search:paginator" mode="header"/>
|
||||
</div>
|
||||
</xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="../search:query/bebop:formWidget[@name='draft_search']">
|
||||
<xsl:apply-templates select="search:documents" mode="admin"/>
|
||||
|
|
@ -52,11 +54,13 @@
|
|||
<xsl:apply-templates select="search:documents | info"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="./search:paginator">
|
||||
<div class="paginator">
|
||||
<xsl:apply-templates select="./search:paginator" mode="navbar"/>
|
||||
<xsl:text> | </xsl:text>
|
||||
<xsl:apply-templates select="./search:paginator" mode="header"/>
|
||||
</div>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="info">
|
||||
|
|
|
|||
Loading…
Reference in New Issue