app/soc/models/role.py
changeset 2074 5c75312566d5
parent 2040 f1370e1d0871
child 2162 03ed2fa5ccc8
equal deleted inserted replaced
2073:6eb9b4652c80 2074:5c75312566d5
   351       'concerning which privileges may be used.')
   351       'concerning which privileges may be used.')
   352 
   352 
   353   def name(self):
   353   def name(self):
   354     """Property as 'name' for use in common templates.
   354     """Property as 'name' for use in common templates.
   355     """
   355     """
   356     return '%s %s' %(self.given_name, self.surname)
   356     return '%s %s' % (self.given_name, self.surname)
   357 
   357 
   358   def document_name(self):
   358   def document_name(self):
   359     """Property as 'document_name' used on for example award certificates.
   359     """Property as 'document_name' used on for example award certificates.
   360     """
   360     """
   361     if self.name_on_documents:
   361     if self.name_on_documents: