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-94f89814c4df
master
jensp 2014-12-29 08:22:33 +00:00
parent 89abccb3bf
commit e93a9ef9f0
3 changed files with 49 additions and 3 deletions

View File

@ -497,5 +497,51 @@
</xsl:choose>
</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="&#x2B06;"
src="{foundry:gen-path('images/cms/arrowUp.gif',
'internal')}"/>
</a>
</xsl:when>
<xsl:otherwise>
&nbsp;
</xsl:otherwise>
</xsl:choose>
</span>
<span class="sortButtonDown">
<xsl:choose>
<xsl:when test="@nextURL">
<a href="{@nextURL}">
<img alt="&#x2B07;"
src="{foundry:gen-path('images/cms/arrowDown.gif',
'internal')}"/>
</a>
</xsl:when>
<xsl:otherwise>
&nbsp;
</xsl:otherwise>
</xsl:choose>
</span>
</span>
</xsl:if>
<xsl:apply-templates/>
</li>
</xsl:template>
</xsl:stylesheet>

View File

@ -864,7 +864,7 @@ div#bebop-current-pane table.dataTable tbody tr:hover{
/* SortButtons */
span.sortButtons {
float: left;
/* float: left; */
margin-right: 3px;
width: 20px;
}