From ab8c53de19e47da21fcee47fdf97815bbf0bd9c2 Mon Sep 17 00:00:00 2001 From: jtmst Date: Wed, 11 Dec 2024 10:21:53 -0500 Subject: [PATCH] details for error messages and error page verbiage --- bloom_nofos/bloom_nofos/templates/400.html | 4 ++-- bloom_nofos/bloom_nofos/templates/404.html | 8 ++++---- bloom_nofos/bloom_nofos/templates/500.html | 10 +++++----- bloom_nofos/nofos/nofo.py | 7 ++++++- bloom_nofos/nofos/views.py | 14 +++++++++++--- 5 files changed, 28 insertions(+), 15 deletions(-) diff --git a/bloom_nofos/bloom_nofos/templates/400.html b/bloom_nofos/bloom_nofos/templates/400.html index ba71f9c0..1c39b2e8 100644 --- a/bloom_nofos/bloom_nofos/templates/400.html +++ b/bloom_nofos/bloom_nofos/templates/400.html @@ -1,12 +1,12 @@ {% extends 'base.html' %} {% block title %} - {% if status %}{{ status }}{% else %}400{% endif %} bruv, oops — Bad request + {% if status %}{{ status }}{% else %}400{% endif %} - Bad Request {% endblock %} {% block content %} -

{% if status %}{{ status }}{% else %}400{% endif %} bruv, oops

+

{% if status %}{{ status }}{% else %}400{% endif %} Error

{% if error_message %}

{{ error_message }}

{% elif error_message_html %} diff --git a/bloom_nofos/bloom_nofos/templates/404.html b/bloom_nofos/bloom_nofos/templates/404.html index 8ae23266..0dbf28f0 100644 --- a/bloom_nofos/bloom_nofos/templates/404.html +++ b/bloom_nofos/bloom_nofos/templates/404.html @@ -1,14 +1,14 @@ {% extends 'base.html' %} {% block title %} - 404 dawg, sorry — Page not found + 404 - Page Not Found {% endblock %} {% block content %} -

404 dawg, sorry

-

No fos here or anything else.

-

Maybe go look at:

+

404 Error - Page Not Found

+

The page you are looking for could not be found. Please check the URL and try again.

+

You may want to visit: