fix mac links: now to Grafana

This commit is contained in:
2025-05-25 17:19:47 +03:00
parent bdea1b9fce
commit fbe8681a23
3 changed files with 5 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ def view_inventory_view(item_id):
can_edit = check_edit_permission(item_id)
is_using = item_user and item_user == user["username"]
photo_url = get_image_url(item_id)
# pylance: disable=unused-variable
constants = {"MACADDRESS_OUTLINK_BASEURL": const.MACADDRESS_OUTLINK_BASEURL}
return render_template(template , **locals())
def get_image_url(item_id):