소스 검색

Move templates for extras panels

Jeremy Stretch 4 달 전
부모
커밋
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