From 257f4650b8915af57ab3a1bbba28ff89cb1ef700 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Tue, 23 Jan 2024 17:57:37 +0100 Subject: [PATCH] Remove usage of getDocumentType with 3D View plugin --- .../TypoScript/Plugins/kitodo.typoscript | 7 ------- Resources/Private/Partials/PageView.html | 18 ++++++------------ 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/Configuration/TypoScript/Plugins/kitodo.typoscript b/Configuration/TypoScript/Plugins/kitodo.typoscript index 64bf0f9e5..c0cfbe777 100644 --- a/Configuration/TypoScript/Plugins/kitodo.typoscript +++ b/Configuration/TypoScript/Plugins/kitodo.typoscript @@ -227,10 +227,3 @@ page.10.variables { isNewspaper.value = newspaper_issue } [END] - -[getDocumentType({$config.storagePid}) == "object"] -page.10.variables { - isObject3D = TEXT - isObject3D.value = object -} -[END] diff --git a/Resources/Private/Partials/PageView.html b/Resources/Private/Partials/PageView.html index bf8571c18..d63537235 100644 --- a/Resources/Private/Partials/PageView.html +++ b/Resources/Private/Partials/PageView.html @@ -31,19 +31,13 @@

- - - - - - + - - - -
-
-
+ + + + +