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:
		
							parent
							
								
									cbd21ba23d
								
							
						
					
					
						commit
						2e9f1bdfc9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue