inform users that they will still be billed for stopped capsuls

This commit is contained in:
forest 2022-03-30 12:10:10 -05:00
parent aa03c00fb1
commit 51da38e176

View File

@ -159,6 +159,9 @@ def detail(id):
current_app.config["HUB_MODEL"].vm_state_command(email=session['account'], id=id, command="force-stop")
vm["state"] = "stopped"
flash("please note that your account will still be billed for this capsul while it is in a stopped state")
return render_template(
"capsul-detail.html",
csrf_token = session["csrf-token"],