From 6e7bbfc3e2401d9d21e974b019d2dbb3d1fbf8e3 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 10 Nov 2025 08:35:33 -0500 Subject: [PATCH] Fix templates --- netbox/templates/dcim/moduletypeprofile.html | 1 + netbox/templates/dcim/rack/attrs/total_weight.html | 2 +- netbox/templates/dcim/racktype.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 netbox/templates/dcim/moduletypeprofile.html create mode 100644 netbox/templates/dcim/racktype.html diff --git a/netbox/templates/dcim/moduletypeprofile.html b/netbox/templates/dcim/moduletypeprofile.html new file mode 100644 index 000000000..f15e1d050 --- /dev/null +++ b/netbox/templates/dcim/moduletypeprofile.html @@ -0,0 +1 @@ +{% extends 'generic/object.html' %} diff --git a/netbox/templates/dcim/rack/attrs/total_weight.html b/netbox/templates/dcim/rack/attrs/total_weight.html index 2db1d13e8..73ac54ef5 100644 --- a/netbox/templates/dcim/rack/attrs/total_weight.html +++ b/netbox/templates/dcim/rack/attrs/total_weight.html @@ -1,3 +1,3 @@ -{% load i18n %} +{% load helpers i18n %} {{ value|floatformat }} {% trans "Kilograms" %} ({{ value|kg_to_pounds|floatformat }} {% trans "Pounds" %}) diff --git a/netbox/templates/dcim/racktype.html b/netbox/templates/dcim/racktype.html new file mode 100644 index 000000000..f15e1d050 --- /dev/null +++ b/netbox/templates/dcim/racktype.html @@ -0,0 +1 @@ +{% extends 'generic/object.html' %}