From a52cf444b2e45bab0febee88dbcbb126fb67d345 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Thu, 2 Mar 2023 22:50:06 -0500 Subject: [PATCH] Add email fallback message for media embeds --- resources/views/partials/checkins-list.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index 0784b34..0485e10 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -9,8 +9,9 @@ if (file_exists(public_path() . "/videos/" . $filepath[1])) { $embed = ''; + $embed .= '

If your email client doesn\'t support video embeds, here is a link to the file instead.

'; } else { $embed = '

[The video \'' . $filepath[1] . '\' has not yet been uploaded, try again later.]

'; $embedMissing = true; @@ -22,6 +23,7 @@ $embed .= ''; $embed .= '

Download OGG audio.

'; $embed .= ''; + $embed .= '

If your email client doesn\' support audio embeds, here is a link to the file instead.

'; } else { $embed = '

[The recording \'' . $filepath[1] . '\' has not yet been uploaded, try again later.]

'; $embedMissing = true;