From d3c8c5d77bdaf0c6f439a41d62d9caef879eb022 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Fri, 11 Feb 2022 20:54:11 -0600 Subject: [PATCH] template --- app/templates/status_codes/500.html.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/templates/status_codes/500.html.j2 diff --git a/app/templates/status_codes/500.html.j2 b/app/templates/status_codes/500.html.j2 new file mode 100644 index 0000000..544646b --- /dev/null +++ b/app/templates/status_codes/500.html.j2 @@ -0,0 +1,18 @@ +{% extends 'base.html.j2' %} + +{% block title %}ERROR{% endblock %} + +{% block content_before %} + ERROR - {{ config.APP_NAME }} +{% endblock %} + +{% block content %} + {% if current_user.gm_level == 9 %} + + {{ exception }} + + {% else %} +

An Error has Occurred!!!

+
Please Report this to an Admin
+ {% endif %} +{% endblock %}