Browse Source

inform users that they will still be billed for stopped capsuls

main
forest 3 months ago
parent
commit
51da38e176
  1. 3
      capsulflask/console.py

3
capsulflask/console.py

@ -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…
Cancel
Save