mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #924 from dbaker3/ds-2318
[DS-2318] Added img-thumbnail class to item-view and instances of 'No Th...
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
</img>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img alt="xmlui.mirage2.item-list.thumbnail" i18n:attr="alt">
|
||||
<img class="img-thumbnail" alt="xmlui.mirage2.item-list.thumbnail" i18n:attr="alt">
|
||||
<xsl:attribute name="data-src">
|
||||
<xsl:text>holder.js/100%x</xsl:text>
|
||||
<xsl:value-of select="$thumbnail.maxheight"/>
|
||||
|
@@ -181,14 +181,14 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<img alt="Thumbnail">
|
||||
<img class="img-thumbnail" alt="Thumbnail">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:value-of select="$src"/>
|
||||
</xsl:attribute>
|
||||
</img>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img alt="Thumbnail">
|
||||
<img class="img-thumbnail" alt="Thumbnail">
|
||||
<xsl:attribute name="data-src">
|
||||
<xsl:text>holder.js/100%x</xsl:text>
|
||||
<xsl:value-of select="$thumbnail.maxheight"/>
|
||||
@@ -536,7 +536,7 @@
|
||||
<xsl:choose>
|
||||
<xsl:when test="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/
|
||||
mets:file[@GROUPID=current()/@GROUPID]">
|
||||
<img alt="Thumbnail">
|
||||
<img class="img-thumbnail" alt="Thumbnail">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:value-of select="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/
|
||||
mets:file[@GROUPID=current()/@GROUPID]/mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>
|
||||
@@ -544,7 +544,7 @@
|
||||
</img>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img alt="Thumbnail">
|
||||
<img class="img-thumbnail" alt="Thumbnail">
|
||||
<xsl:attribute name="data-src">
|
||||
<xsl:text>holder.js/100%x</xsl:text>
|
||||
<xsl:value-of select="$thumbnail.maxheight"/>
|
||||
|
Reference in New Issue
Block a user