inform users that they will still be billed for stopped capsuls
This commit is contained in:
parent
aa03c00fb1
commit
51da38e176
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user