소스 검색

Fix templates

Jeremy Stretch 4 달 전
부모
커밋
6e7bbfc3e2
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      netbox/templates/dcim/moduletypeprofile.html
  2. 1 1
      netbox/templates/dcim/rack/attrs/total_weight.html
  3. 1 0
      netbox/templates/dcim/racktype.html

+ 1 - 0
netbox/templates/dcim/moduletypeprofile.html

@@ -0,0 +1 @@
+{% extends 'generic/object.html' %}

+ 1 - 1
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" %})

+ 1 - 0
netbox/templates/dcim/racktype.html

@@ -0,0 +1 @@
+{% extends 'generic/object.html' %}