Small bugfix for Foundry: It was not able to sort sub categories in the content centre because of a missing XSL template for cms:sortableList
git-svn-id: https://svn.libreccm.org/ccm/trunk@3065 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
89abccb3bf
commit
e93a9ef9f0
|
|
@ -497,5 +497,51 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="cms:sortableList">
|
||||||
|
<div class="cmsSortableList" id="{./@id}">
|
||||||
|
<ul>
|
||||||
|
<xsl:apply-templates mode="sortableList"/>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- DE Spezielles bebop:cell für die sortierbaren Listen, daß die Pfeile mit erzeugt -->
|
||||||
|
<!-- EN A special bebop:cell for sortable list, which will create sorting buttons -->
|
||||||
|
<xsl:template match="bebop:cell" mode="sortableList">
|
||||||
|
<li>
|
||||||
|
<xsl:if test="@configure">
|
||||||
|
<span class="sortButtons">
|
||||||
|
<span class="sortButtonUp">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@prevURL">
|
||||||
|
<a href="{@prevURL}">
|
||||||
|
<img alt="⬆"
|
||||||
|
src="{foundry:gen-path('images/cms/arrowUp.gif',
|
||||||
|
'internal')}"/>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</span>
|
||||||
|
<span class="sortButtonDown">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@nextURL">
|
||||||
|
<a href="{@nextURL}">
|
||||||
|
<img alt="⬇"
|
||||||
|
src="{foundry:gen-path('images/cms/arrowDown.gif',
|
||||||
|
'internal')}"/>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</li>
|
||||||
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
@ -864,7 +864,7 @@ div#bebop-current-pane table.dataTable tbody tr:hover{
|
||||||
|
|
||||||
/* SortButtons */
|
/* SortButtons */
|
||||||
span.sortButtons {
|
span.sortButtons {
|
||||||
float: left;
|
/* float: left; */
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue