فهرست منبع

Move templates for extras panels

Jeremy Stretch 3 ماه پیش
والد
کامیت
60cc009d6b
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      netbox/extras/ui/panels.py
  2. 0 0
      netbox/templates/extras/panels/custom_fields.html
  3. 0 0
      netbox/templates/extras/panels/tags.html

+ 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.
     """
-    template_name = 'ui/panels/custom_fields.html'
+    template_name = 'extras/panels/custom_fields.html'
     title = _('Custom Fields')
 
     def get_context(self, context):
@@ -57,7 +57,7 @@ class TagsPanel(panels.ObjectPanel):
     """
     Render a panel showing the tags assigned to the object.
     """
-    template_name = 'ui/panels/tags.html'
+    template_name = 'extras/panels/tags.html'
     title = _('Tags')
 
     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