diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index 7dda1c79..43d0a328 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -130,9 +130,9 @@ {{ RESERVATIONS[device.id] }} -
+ - +
{% endif %} diff --git a/python/web/src/web.py b/python/web/src/web.py index df458c96..59a89862 100644 --- a/python/web/src/web.py +++ b/python/web/src/web.py @@ -712,11 +712,11 @@ def reserve_id(): flash(process["msg"], "error") return redirect(url_for("index")) -@APP.route("/scsi/unreserve", methods=["POST"]) +@APP.route("/scsi/release", methods=["POST"]) @login_required -def unreserve_id(): +def release_id(): """ - Removes the reservation of a SCSI ID as well as the memo for the reservation + Releases the reservation of a SCSI ID as well as the memo for the reservation """ scsi_id = request.form.get("scsi_id") reserved_ids = ractl.get_reserved_ids()["ids"]