Преглед изворни кода

Move templates for extras panels

Jeremy Stretch пре 3 месеци
родитељ
комит
60cc009d6b

+ 2 - 2
netbox/extras/ui/panels.py

@@ -15,7 +15,7 @@ class CustomFieldsPanel(panels.ObjectPanel):
     """
     """
     Render a panel showing the value of all custom fields defined on the object.
     Render a panel showing the value of all custom fields defined on the object.
     """
     """
-    template_name = 'ui/panels/custom_fields.html'
+    template_name = 'extras/panels/custom_fields.html'
     title = _('Custom Fields')
     title = _('Custom Fields')
 
 
     def get_context(self, context):
     def get_context(self, context):
@@ -57,7 +57,7 @@ class TagsPanel(panels.ObjectPanel):
     """
     """
     Render a panel showing the tags assigned to the object.
     Render a panel showing the tags assigned to the object.
     """
     """
-    template_name = 'ui/panels/tags.html'
+    template_name = 'extras/panels/tags.html'
     title = _('Tags')
     title = _('Tags')
 
 
     def get_context(self, context):
     def get_context(self, context):

+ 0 - 0
netbox/templates/ui/panels/custom_fields.html → netbox/templates/extras/panels/custom_fields.html


+ 0 - 0
netbox/templates/ui/panels/tags.html → netbox/templates/extras/panels/tags.html