- We're currently having some technical issues. We're working on it and will be back soon. Thanks for your patience! -
-- There's currently a technical issue. -
-Thank you for your patience while we work on it. Notify will be back soon.
-diff --git a/app/main/views/index.py b/app/main/views/index.py index 92e5de949..69e6a8b2e 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -19,6 +19,7 @@ from app.main.views.sub_navigation_dictionaries import ( about_notify_nav, using_notify_nav, ) +from app.utils.api_health import is_api_down from app.utils.user import user_is_logged_in logger = logging.getLogger(__name__) @@ -51,11 +52,11 @@ def index(): except Exception as e: logger.warning(f"API down when loading homepage: {e}") counts = None - print(counts) return render_template( "views/signedout.html", sms_rate=CURRENT_SMS_RATE, counts=counts, + is_api_down=is_api_down() ) diff --git a/app/templates/error/technical_difficulties.html b/app/templates/error/technical_difficulties.html new file mode 100644 index 000000000..cdb09e074 --- /dev/null +++ b/app/templates/error/technical_difficulties.html @@ -0,0 +1,26 @@ +
+ We're currently having some technical issues. We're working on it and will be back soon. Thanks for your patience! +
+Thank you for your patience while we work on it. Notify will be back soon.
+- We're currently having some technical issues. We're working on it and will be back soon. Thanks for your patience! -
-Thank you for your patience while we work on it. Notify will be back soon.
-