From 51da38e176df29ff055dc3ef24c891fa3a399329 Mon Sep 17 00:00:00 2001 From: forest Date: Wed, 30 Mar 2022 12:10:10 -0500 Subject: [PATCH] inform users that they will still be billed for stopped capsuls --- capsulflask/console.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/capsulflask/console.py b/capsulflask/console.py index 9be3629..70b34b5 100644 --- a/capsulflask/console.py +++ b/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"],