From 1c5406e2d8473e44fa0060f205f60adbfa18ef78 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Thu, 14 Aug 2025 19:54:56 +0000 Subject: [PATCH] Update web/templates/entry_view.html --- web/templates/entry_view.html | 75 +++++++++++------------------------ 1 file changed, 23 insertions(+), 52 deletions(-) diff --git a/web/templates/entry_view.html b/web/templates/entry_view.html index f97b811..8c042d8 100644 --- a/web/templates/entry_view.html +++ b/web/templates/entry_view.html @@ -15,12 +15,10 @@
-
-
@@ -72,38 +70,11 @@
Source
{% if entry.source %} - {% with s=entry.source|trim %} - {% with sl=s|lower %} - {% if - sl|startswith:"w" or sl|startswith:"wp" or sl|startswith:"ws" or sl|startswith:"g" or - sl|startswith:"yb" or sl|startswith:"kt" or - sl|startswith:"km" or sl|startswith:"mwb" or - sl|startswith:"ap" or sl|startswith:"apf" or sl|startswith:"be" or sl|startswith:"bh" or - sl|startswith:"br" or sl|startswith:"bt" or sl|startswith:"btg" or sl|startswith:"cf" or - sl|startswith:"cl" or sl|startswith:"ct" or sl|startswith:"dp" or sl|startswith:"fg" or - sl|startswith:"fy" or sl|startswith:"gt" or sl|startswith:"hb" or sl|startswith:"im" or - sl|startswith:"ip" or sl|startswith:"it" or sl|startswith:"jv" or sl|startswith:"ka" or - sl|startswith:"kj" or sl|startswith:"kl" or sl|startswith:"lf" or sl|startswith:"lff" or - sl|startswith:"ll" or sl|startswith:"ly" or sl|startswith:"my" or sl|startswith:"od" or - sl|startswith:"pe" or sl|startswith:"po" or sl|startswith:"pt" or sl|startswith:"rr" or - sl|startswith:"rs" or sl|startswith:"sg" or sl|startswith:"sh" or sl|startswith:"si" or - sl|startswith:"td" or sl|startswith:"tp" or sl|startswith:"tr" or sl|startswith:"ts" or - sl|startswith:"un" - %} - - {{ s }} - - {% else %} - - {{ s }} - - {% endif %} - {% endwith %} - {% endwith %} + + {{ entry.source }} + {% else %}—{% endif %}
@@ -149,26 +120,26 @@ {% endblock %} \ No newline at end of file