Changeset 7364 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 17 Dec 2011, 12:54:39 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py
r7359 r7364 71 71 72 72 @property 73 def fullname(self):73 def display_fullname(self): 74 74 middlename = getattr(self, 'middlename', None) 75 75 sirp_utils = getUtility(ISIRPUtils) -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py
r7255 r7364 38 38 @property 39 39 def title(self): 40 return self.context. fullname40 return self.context.display_fullname 41 41 42 42 @property -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7363 r7364 563 563 def label(self): 564 564 return '%s: Online Payment Ticket %s' % ( 565 self.context.__parent__. fullname,self.context.p_id)565 self.context.__parent__.display_fullname,self.context.p_id) 566 566 567 567 class PaymentReceiptActionButton(ManageActionButton): -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r7246 r7364 84 84 </td> 85 85 <td> 86 <span tal:replace="appl/ fullname">Fullname86 <span tal:replace="appl/display_fullname">Fullname 87 87 </span> 88 88 </td> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r7356 r7364 384 384 history = Attribute('Object history, a list of messages.') 385 385 state = Attribute('The application state of an applicant') 386 fullname = Attribute('The fullname of an applicant')386 display_fullname = Attribute('The fullname of an applicant') 387 387 application_date = Attribute('Date of submission, used for export only') 388 388 password = Attribute('Encrypted password of a applicant') -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_authentication.py
r7255 r7364 60 60 class FakeApplicant(object): 61 61 applicant_id = 'test_appl' 62 fullname = 'Tilman Gause'62 display_fullname = 'Tilman Gause' 63 63 password = None 64 64 email = None
Note: See TracChangeset for help on using the changeset viewer.