Syncing Mandalay themes in ccm-sci-bundle and ccm-ldn-aplaws

git-svn-id: https://svn.libreccm.org/ccm/trunk@2931 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-10-30 16:31:26 +00:00
parent 610436b23a
commit c57973f825
4 changed files with 11 additions and 5 deletions

View File

@ -200,6 +200,7 @@
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true' and nav:attribute[@name='imageAttachments.image.id']">
<a>
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
@ -238,7 +239,7 @@
<xsl:value-of select="./givenname"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="string-length(./givenname) &gt; 0">
<xsl:if test="string-length(./surname) &gt; 0">
<xsl:value-of select="./surname"/>
</xsl:if>
<xsl:if test="string-length(./titlePost) &gt; 0">
@ -257,7 +258,7 @@
<xsl:value-of select="./givenname"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="string-length(./givenname) &gt; 0">
<xsl:if test="string-length(./surname) &gt; 0">
<xsl:value-of select="./surname"/>
</xsl:if>
<xsl:if test="string-length(./titlePost) &gt; 0">

View File

@ -263,7 +263,7 @@
<xsl:value-of select="./givenname"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="string-length(./givenname) &gt; 0">
<xsl:if test="string-length(./surname) &gt; 0">
<xsl:value-of select="./surname"/>
</xsl:if>
<xsl:if test="string-length(./titlepost) &gt; 0">
@ -285,7 +285,7 @@
<xsl:value-of select="./givenname"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="string-length(./givenname) &gt; 0">
<xsl:if test="string-length(./surname) &gt; 0">
<xsl:value-of select="./surname"/>
</xsl:if>
<xsl:if test="string-length(./titlepost) &gt; 0">

View File

@ -496,6 +496,7 @@
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:param name="omitCollectedVolume" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
@ -585,6 +586,7 @@
Process the collected volume information and store the result in a variable.
-->
<xsl:variable name="collectedVolume">
<xsl:if test="$omitCollectedVolume != 'true'">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefCollectedVolumeFormat">
<xsl:with-param name="authors" select="$collectedVolumeAuthors" />
@ -599,6 +601,7 @@
<xsl:with-param name="oid" select="./collectedVolume/@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:if>
</xsl:variable>
<!--

View File

@ -509,7 +509,9 @@
<ul class="articlesList">
<xsl:for-each select="./articles/article">
<li>
<xsl:call-template name="CT_CollectedVolume_List" />
<xsl:call-template name="CT_ArticleInCollectedVolume_List" >
<xsl:with-param name="omitCollectedVolume" select="'true'"/>
</xsl:call-template>
</li>
</xsl:for-each>
</ul>