fixed style checks

This commit is contained in:
Beverly Nguyen
2024-02-06 17:06:18 -08:00
parent 8eb329b444
commit 15105bf506
3 changed files with 7 additions and 5 deletions

View File

@@ -614,7 +614,7 @@ def check_messages(service_id, template_id, upload_id, row_index=2):
metadata_kwargs["sender_id"] = session["sender_id"]
set_metadata_on_csv_upload(service_id, upload_id, **metadata_kwargs)
session['scheduled_for']=request.form.get("scheduled_for", "")
session['scheduled_for'] = request.form.get("scheduled_for", "")
return render_template("views/check/ok.html", **data)
@@ -644,7 +644,8 @@ def preview_job(service_id, template_id, upload_id, row_index=2):
return render_template("views/check/column-errors.html", **data)
return render_template('views/check/preview.html', scheduled_for=session['scheduled_for'], **data,
)
)
@main.route("/services/<uuid:service_id>/start-job/<uuid:upload_id>", methods=["POST"])
@user_has_permissions("send_messages", restrict_admin_usage=True)
@@ -720,7 +721,6 @@ def get_back_link(service_id, template, step_index, placeholders=None, preview=F
template_id=template.id,
)
if step_index == 0:
if should_skip_template_page(template._template):
return url_for(
@@ -871,6 +871,7 @@ def get_template_error_dict(exception):
"original_file_name": False,
}
@main.route(
"/services/<uuid:service_id>/template/<uuid:template_id>/notification/check/preview",
methods=["POST"],