From 18bcde3bf6805cf8ce71e325c0a453adf573ab91 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Wed, 18 Dec 2024 22:25:30 -0600 Subject: [PATCH] Don't show placeholder difficulty if it's not set --- templates/EbookMetadata.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/EbookMetadata.php b/templates/EbookMetadata.php index d9875c4a..c3121305 100644 --- a/templates/EbookMetadata.php +++ b/templates/EbookMetadata.php @@ -32,11 +32,13 @@ $showPlaceholderMetadata = $showPlaceholderMetadata ?? false; Is Patron selection: EbookPlaceholder->IsPatron){ ?>☑ + EbookPlaceholder->Difficulty !== null){ ?> + + Difficulty: + EbookPlaceholder->Difficulty->value) ?> + + - - Difficulty: - EbookPlaceholder->Difficulty->value ?? '') ?> -