Changeset 14168 for main/waeup.uniben
- Timestamp:
- 13 Sep 2016, 13:30:05 (8 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r14167 r14168 624 624 @property 625 625 def note(self): 626 notice = getattr(self.context.__parent__, 'application_slip_notice', None) 626 627 if self.context.screening_date: 627 628 return """ … … 642 643 <br /><br /> 643 644 The Registrar<br /> 645 <br /><br /> 646 <br /><br /> 647 %s 644 648 </font> 645 649 646 650 """ % (self.context.display_fullname, self.context.screening_date, 647 self.context.screening_venue )651 self.context.screening_venue, notice) 648 652 return 649 653 -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r14167 r14168 192 192 self.applicant.screening_date = u'any date' 193 193 self.applicant.screening_venue = u'MAIN AUDITORIUM' 194 self.applicantscontainer.application_slip_notice = u'This is an additional notice.' 194 195 # The invitation letter can be printed 195 196 self.browser.open(self.view_path)
Note: See TracChangeset for help on using the changeset viewer.