From 8201782b6fe4b98412eea15e42e3befa88faa685 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 6 Sep 2021 15:34:23 +0200 Subject: [PATCH] Properly check for images Do not check for models, but actual file. They might be missing, e.g. cause not downloaded from production into dev environment. The new checks ensure the page will not break with an exception, but show default images. --- Resources/Private/Partials/Date/ListDefault.html | 4 ++-- Resources/Private/Partials/Date/ListTable.html | 4 ++-- Resources/Private/Templates/Date/Show.html | 4 ++-- Resources/Private/Templates/Date/Teaser.html | 6 +++--- Resources/Private/Templates/Event/List.html | 6 +++--- Resources/Private/Templates/Event/Search.html | 6 +++--- Resources/Private/Templates/Event/Show.html | 6 +++--- Resources/Private/Templates/Event/Teaser.html | 6 +++--- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Resources/Private/Partials/Date/ListDefault.html b/Resources/Private/Partials/Date/ListDefault.html index c62a6fb..dfc44c8 100644 --- a/Resources/Private/Partials/Date/ListDefault.html +++ b/Resources/Private/Partials/Date/ListDefault.html @@ -3,10 +3,10 @@
- + - + diff --git a/Resources/Private/Templates/Date/Show.html b/Resources/Private/Templates/Date/Show.html index 4929454..77b36a9 100644 --- a/Resources/Private/Templates/Date/Show.html +++ b/Resources/Private/Templates/Date/Show.html @@ -3,9 +3,9 @@
- + - + Dummy diff --git a/Resources/Private/Templates/Date/Teaser.html b/Resources/Private/Templates/Date/Teaser.html index 4f2f9de..fc1bf56 100644 --- a/Resources/Private/Templates/Date/Teaser.html +++ b/Resources/Private/Templates/Date/Teaser.html @@ -10,10 +10,10 @@ --> - \ No newline at end of file + diff --git a/Resources/Private/Templates/Event/List.html b/Resources/Private/Templates/Event/List.html index d9ec46f..50707dd 100644 --- a/Resources/Private/Templates/Event/List.html +++ b/Resources/Private/Templates/Event/List.html @@ -6,10 +6,10 @@
- \ No newline at end of file + diff --git a/Resources/Private/Templates/Event/Search.html b/Resources/Private/Templates/Event/Search.html index 2e5cd72..111d621 100644 --- a/Resources/Private/Templates/Event/Search.html +++ b/Resources/Private/Templates/Event/Search.html @@ -4,10 +4,10 @@
-
\ No newline at end of file +
diff --git a/Resources/Private/Templates/Event/Show.html b/Resources/Private/Templates/Event/Show.html index 49d418b..4ede781 100644 --- a/Resources/Private/Templates/Event/Show.html +++ b/Resources/Private/Templates/Event/Show.html @@ -3,10 +3,10 @@
- + - + @@ -34,4 +34,4 @@
- \ No newline at end of file + diff --git a/Resources/Private/Templates/Event/Teaser.html b/Resources/Private/Templates/Event/Teaser.html index b0019bb..396e6d9 100644 --- a/Resources/Private/Templates/Event/Teaser.html +++ b/Resources/Private/Templates/Event/Teaser.html @@ -6,10 +6,10 @@
- \ No newline at end of file +