Fix 3 remaining stylistic inconsistencies

This commit is contained in:
Brian Tiemann
2026-03-30 16:21:38 -04:00
parent 1745bda262
commit e13581b6a8

View File

@@ -153,7 +153,6 @@ class CustomFieldBehaviorPanel(panels.ObjectAttributesPanel):
search_weight = attrs.TemplatedAttr( search_weight = attrs.TemplatedAttr(
'search_weight', 'search_weight',
label=_('Search Weight'),
template_name='extras/customfield/attrs/search_weight.html', template_name='extras/customfield/attrs/search_weight.html',
) )
filter_logic = attrs.ChoiceAttr('filter_logic') filter_logic = attrs.ChoiceAttr('filter_logic')
@@ -401,7 +400,6 @@ class TagPanel(panels.ObjectAttributesPanel):
weight = attrs.NumericAttr('weight') weight = attrs.NumericAttr('weight')
tagged_items = attrs.TemplatedAttr( tagged_items = attrs.TemplatedAttr(
'extras_taggeditem_items', 'extras_taggeditem_items',
label=_('Tagged Items'),
template_name='extras/tag/attrs/tagged_item_count.html', template_name='extras/tag/attrs/tagged_item_count.html',
) )
@@ -487,7 +485,7 @@ class ConfigTemplatePanel(panels.ObjectAttributesPanel):
class ImageAttachmentPanel(panels.ObjectAttributesPanel): class ImageAttachmentPanel(panels.ObjectAttributesPanel):
title = _('Image Attachment') title = _('Image Attachment')
parent = attrs.RelatedObjectAttr('parent', linkify=True, label=_('Parent Object')) parent = attrs.RelatedObjectAttr('parent', linkify=True, label=_('Parent object'))
name = attrs.TextAttr('name') name = attrs.TextAttr('name')
description = attrs.TextAttr('description') description = attrs.TextAttr('description')