Split PanelAction into a base class and LinkAction; CopyContent should inherit from base class

This commit is contained in:
Jeremy Stretch
2025-11-05 15:08:51 -05:00
parent 9d6522c11e
commit dfb08ff521
3 changed files with 73 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ __all__ = (
)
class CustomFieldsPanel(panels.Panel):
class CustomFieldsPanel(panels.ObjectPanel):
template_name = 'ui/panels/custom_fields.html'
title = _('Custom Fields')
@@ -39,7 +39,7 @@ class ImageAttachmentsPanel(panels.ObjectsTablePanel):
super().__init__('extras.imageattachment', **kwargs)
class TagsPanel(panels.Panel):
class TagsPanel(panels.ObjectPanel):
template_name = 'ui/panels/tags.html'
title = _('Tags')