From fbbb12c77c8d21f72b6c9ffbc23d2f5d36d9a9d6 Mon Sep 17 00:00:00 2001 From: Krish M <krish94@uab.edu> Date: Thu, 19 May 2022 15:19:45 -0500 Subject: [PATCH] 1. Renamed state blocked to hold 2. Renamed page blocked.html to hold.html --- app/__init__.py | 4 ++-- app/templates/account/{blocked.html => hold.html} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename app/templates/account/{blocked.html => hold.html} (100%) diff --git a/app/__init__.py b/app/__init__.py index cc2b989..7bab4df 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -50,8 +50,8 @@ def create_app(config_name): if (not any(item in session['user'].get('eppa') for item in valid_eppa)): return render_template('account/unauthorized.html', unauthorized_msg=messages.unauthorized_message) - if rc_util.check_state(session['user'].get('username')) == "blocked": - return render_template('account/blocked.html', unauthorized_msg=messages.unauthorized_message) + if rc_util.check_state(session['user'].get('username')) == "hold": + return render_template('account/hold.html', unauthorized_msg=messages.unauthorized_message) elif rc_util.check_state(session['user'].get('username')) == "certification": return render_template('account/certify.html', room_id=session['uid'], diff --git a/app/templates/account/blocked.html b/app/templates/account/hold.html similarity index 100% rename from app/templates/account/blocked.html rename to app/templates/account/hold.html -- GitLab