From 4eae8af914cfe9f3a4b5939a38689d6b01065b3b Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Thu, 3 Dec 2020 11:47:54 -0600 Subject: [PATCH] Don't show author name in grid or detail view if the name is 'Anonymous' --- templates/EbookGrid.php | 4 +++- www/ebooks/ebook.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/EbookGrid.php b/templates/EbookGrid.php index cefb1e70..6fbb5840 100644 --- a/templates/EbookGrid.php +++ b/templates/EbookGrid.php @@ -15,7 +15,9 @@ if(!isset($ebooks)){

Title) ?>

Authors as $author){ ?> -

Name) ?>

+ Name != 'Anonymous'){ ?> +

Name) ?>

+ diff --git a/www/ebooks/ebook.php b/www/ebooks/ebook.php index e3555e99..841a5cef 100644 --- a/www/ebooks/ebook.php +++ b/www/ebooks/ebook.php @@ -75,7 +75,9 @@ catch(\Exception $ex){

Title) ?>

Authors as $author){ ?> -

Name) ?>

+ Name != 'Anonymous'){ ?> +

Name) ?>

+