src/pyams_portal/template.py
changeset 120 4f2a1d921a4e
parent 91 bbd58ab513a7
child 186 ffec02eb6ef0
--- a/src/pyams_portal/template.py	Wed Jun 20 08:25:43 2018 +0200
+++ b/src/pyams_portal/template.py	Wed Jun 20 08:26:22 2018 +0200
@@ -42,6 +42,8 @@
 from zope.schema.fieldproperty import FieldProperty
 from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
 
+from pyams_portal import _
+
 
 #
 # Portal templates container
@@ -81,6 +83,8 @@
 
     name = FieldProperty(IPortalTemplate['name'])
 
+    content_name = _("Portal template")
+
 
 @subscriber(IObjectAddedEvent, context_selector=IPortalTemplate)
 def handle_added_template(event):