From 9e934e83d37c9472cf836961ce18dacc1173985e Mon Sep 17 00:00:00 2001 From: Bruno Nocera Zanette <brunonzanette@gmail.com> Date: Wed, 11 Jun 2014 12:22:46 -0300 Subject: [PATCH] Enable thumbnails for recent items on Homepage Enable thumbnails for recent items on Homepage --- .../themes/Participatorio-mobile/Participatorio-mobile.xsl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl index 920f19c..c923d9f 100644 --- a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl +++ b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl @@ -500,13 +500,11 @@ <xsl:template name="itemSummaryList-DIM"> + <!-- Generate the thumbnail, if present, from the file section --> + <xsl:apply-templates select="./mets:fileSec" mode="artifact-preview"/> <!-- Generate the info about the item from the metadata section --> <xsl:apply-templates select="./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim" mode="itemSummaryList-DIM"/> - <!-- Generate the thumbnail, if present, from the file section --> - <!-- - <xsl:apply-templates select="./mets:fileSec" mode="artifact-preview"/> - --> </xsl:template> <!-- A community rendered in the detailView pattern; default way of viewing a community. --> -- GitLab