mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-967] Fixed issue in item view for Mirage theme with self-closing <div/> when abstract is empty
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -232,8 +232,15 @@
|
||||
<div class="spacer"> </div>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="dim:field[@element='description' and @qualifier='abstract']">
|
||||
<xsl:copy-of select="./node()"/>
|
||||
<xsl:if test="count(following-sibling::dim:field[@element='description' and @qualifier='abstract']) != 0">
|
||||
<xsl:choose>
|
||||
<xsl:when test="node()">
|
||||
<xsl:copy-of select="node()"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="count(following-sibling::dim:field[@element='description' and @qualifier='abstract']) != 0">
|
||||
<div class="spacer"> </div>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
Reference in New Issue
Block a user