Restore tagged item count to Tag attributes panel

This commit is contained in:
Brian Tiemann
2026-03-26 18:08:29 -04:00
parent 1c200f403a
commit 12e540351b
2 changed files with 6 additions and 0 deletions

View File

@@ -425,6 +425,11 @@ class TagPanel(panels.ObjectAttributesPanel):
description = attrs.TextAttr('description')
color = attrs.ColorAttr('color')
weight = attrs.NumericAttr('weight')
tagged_items = attrs.TemplatedAttr(
'extras_taggeditem_items',
label=_('Tagged Items'),
template_name='extras/tag/attrs/tagged_item_count.html',
)
class TagObjectTypesPanel(panels.ObjectPanel):

View File

@@ -0,0 +1 @@
{{ value.count }}