From 706a5eb1852a24eec8e862854173aa26847d9d81 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 27 Oct 2022 20:57:36 -0700 Subject: [PATCH] Add warning li if file no longer exists. --- frontends/etiquette_flask/templates/photo.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index 507fed1..029e224 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -210,6 +210,9 @@ />Clipboard + {% if not photo.real_path.is_file %} +
  • ⚠️ File does not exist.
  • + {% endif %}