don't show user id in person view

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3843 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-05-03 11:30:23 +00:00
parent cbd21ba23d
commit 2e9f1bdfc9

View file

@ -41,6 +41,7 @@ class PersonSchemaFactory(SchemaFactory):
# schema.fields.phoneNumbers.instance_name ='simplelist'
if 'birthDate' in schema.fields.keys():
schema.fields.birthDate.display_format = ('date', 'long')
del schema.fields['userId']
return schema