Changeset 13999 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 29 Jun 2016, 04:51:19 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r13997 r13999 376 376 def note(self): 377 377 if self.context.screening_date: 378 year = self.context.__parent__.year 379 session = '%s/%s' % (year, year + 1) 380 sdate = self.context.screening_date 381 stime = '' 382 if '@' in self.context.screening_date: 383 sdate = self.context.screening_date.split('@')[0].strip() 384 stime = self.context.screening_date.split('@')[1].strip() 378 385 return """ 379 386 <br /><br /><br /><br /><font size='12'> 380 387 Dear %s, 381 388 <br /><br /> 382 You are invited for your screening exercise.389 You are invited to the Ambrose Alli University %s Admissions Screening Exercise. 383 390 <br /><br /> 384 <strong>Date/Time: %s 391 <strong>Date: %s 392 <br /><br /> 393 Time: %s 385 394 <br /><br /> 386 395 Venue: %s 387 396 </strong> 388 397 <br /><br /> 389 Please bring along this letter of invitation on your screening date.398 Please bring along this letter of invitation and your downloaded application form on your screening date. 390 399 </font> 391 400 392 """ % (self.context.display_fullname, 393 self.context.screening_date, 401 """ % ( 402 self.context.display_fullname, 403 session, 404 sdate, 405 stime, 394 406 self.context.screening_venue) 395 407 return -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r13997 r13999 74 74 def test_screening_invitation_download(self): 75 75 self.login() 76 self.applicant.screening_date = u'29th August 2016 /8:30 am'76 self.applicant.screening_date = u'29th August 2016 @ 8:30 am' 77 77 self.applicant.screening_venue = u'Main Auditorium' 78 78 self.applicant.lastname = u'Cox'
Note: See TracChangeset for help on using the changeset viewer.