diff --git a/plone/app/contentrules/browser/elements.py b/plone/app/contentrules/browser/elements.py index b017bf8..05e650b 100644 --- a/plone/app/contentrules/browser/elements.py +++ b/plone/app/contentrules/browser/elements.py @@ -170,7 +170,8 @@ def assignments(self): 'url': a.getURL(), 'title': a.Title or a.getId, 'description': a.Description, - }) + 'icon': f'contenttype/{a.portal_type.lower()}' + }) return info diff --git a/plone/app/contentrules/browser/templates/manage-elements.pt b/plone/app/contentrules/browser/templates/manage-elements.pt index b54286c..9357949 100644 --- a/plone/app/contentrules/browser/templates/manage-elements.pt +++ b/plone/app/contentrules/browser/templates/manage-elements.pt @@ -378,10 +378,9 @@ - - - + + title +