mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-23 09:18:49 +02:00
Fix 3 remaining stylistic inconsistencies
This commit is contained in:
@@ -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')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user