From ea28a674fe2d008ad12b86023a7b63a44e9082d4 Mon Sep 17 00:00:00 2001 From: BFallert Date: Tue, 10 May 2022 13:17:44 +0200 Subject: [PATCH 1/2] show divs for thumbnails and descriptions only when needed and add link to collection thumbnail the link to the collection thumbnail replaces javascript // Add click event to complete collections element on intro page in the DigitalcollectionsListScripts.js file in slub_digitalcollections --- Resources/Private/Templates/Collection/List.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Resources/Private/Templates/Collection/List.html b/Resources/Private/Templates/Collection/List.html index aadb97cb5..ba0d4f3db 100644 --- a/Resources/Private/Templates/Collection/List.html +++ b/Resources/Private/Templates/Collection/List.html @@ -36,14 +36,16 @@

-
- +
+ - -
-
+ +
+
{item.collection.description} -
+

({item.info.titles -> f:count()} From 05c6d22e246e6b566556b2c67dc24c9582058112 Mon Sep 17 00:00:00 2001 From: BFallert Date: Thu, 12 May 2022 16:21:33 +0200 Subject: [PATCH 2/2] Template reformatted --- .../Private/Templates/Collection/List.html | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Resources/Private/Templates/Collection/List.html b/Resources/Private/Templates/Collection/List.html index ba0d4f3db..efaac10bb 100644 --- a/Resources/Private/Templates/Collection/List.html +++ b/Resources/Private/Templates/Collection/List.html @@ -36,16 +36,20 @@

-
- - - -
-
- {item.collection.description} -
+ +
+ + + +
+
+ +
+ {item.collection.description} +
+

({item.info.titles -> f:count()}