Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions selections/blueprints/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def import_application():
@before_request
def delete_application(app_id, info=None):
is_evals = '/eboard-evaluations' in info['group_list']
is_rtp = 'rtp' in info['group_list']
is_rtp = '/active_rtp' in info['group_list']
if is_evals or is_rtp:
scores = Submission.query.filter_by(application=app_id).all()
applicant_info = Applicant.query.filter_by(id=app_id).first()
Expand All @@ -137,7 +137,7 @@ def delete_application(app_id, info=None):
@before_request
def get_application_creation(info=None):
is_evals = '/eboard-evaluations' in info['group_list']
is_rtp = 'rtp' in info['group_list']
is_rtp = '/active_rtp' in info['group_list']
if is_evals or is_rtp:
return render_template('create.html', info=info)
else:
Expand Down