equal
deleted
inserted
replaced
344 'Indicates the status of the role concerning which privileges may be used.') |
344 'Indicates the status of the role concerning which privileges may be used.') |
345 |
345 |
346 def name(self): |
346 def name(self): |
347 """Property as 'name' for use in common templates. |
347 """Property as 'name' for use in common templates. |
348 """ |
348 """ |
349 if self.name_on_certificates: |
349 if self.name_on_documents: |
350 return self.name_on_certificates |
350 return self.name_on_documents |
351 else: |
351 else: |
352 return '%s %s' (self.given_name, self.surname) |
352 return '%s %s' %(self.given_name, self.surname) |