mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-2300] Different visualisation of author fields in Mirage 2
This commit is contained in:
@@ -233,28 +233,17 @@
|
||||
<xsl:choose>
|
||||
<xsl:when test="dim:field[@element='contributor'][@qualifier='author']">
|
||||
<xsl:for-each select="dim:field[@element='contributor'][@qualifier='author']">
|
||||
<div>
|
||||
<xsl:if test="@authority">
|
||||
<xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:copy-of select="node()"/>
|
||||
</div>
|
||||
<xsl:call-template name="itemSummaryView-DIM-authors-entry" />
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:when test="dim:field[@element='creator']">
|
||||
<xsl:for-each select="dim:field[@element='creator']">
|
||||
<xsl:copy-of select="node()"/>
|
||||
<xsl:if test="count(following-sibling::dim:field[@element='creator']) != 0">
|
||||
<xsl:text>; </xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:call-template name="itemSummaryView-DIM-authors-entry" />
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:when test="dim:field[@element='contributor']">
|
||||
<xsl:for-each select="dim:field[@element='contributor']">
|
||||
<div>
|
||||
<xsl:copy-of select="node()"/>
|
||||
</div>
|
||||
|
||||
<xsl:call-template name="itemSummaryView-DIM-authors-entry" />
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
@@ -265,6 +254,15 @@
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="itemSummaryView-DIM-authors-entry">
|
||||
<div>
|
||||
<xsl:if test="@authority">
|
||||
<xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:copy-of select="node()"/>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="itemSummaryView-DIM-URI">
|
||||
<xsl:if test="dim:field[@element='identifier' and @qualifier='uri' and descendant::text()]">
|
||||
<div class="simple-item-view-uri item-page-field-wrapper table">
|
||||
|
Reference in New Issue
Block a user