Changeset 14040 for main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
- Timestamp:
- 2 Aug 2016, 08:55:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r14014 r14040 324 324 text = _(u"""Dear ${a}, 325 325 326 ${c} 327 328 Regards 326 The candidate with Id ${b} and name ${c} applied to 327 the ${d} to study ${e} for the ${f} session. 328 The candidate has listed you as referee. You are thus required to kindly use 329 the link below to provide your referral remarks on or before 330 ${g}. 331 332 ${h} 333 334 Thank You 335 336 The Secretary 337 Post Graduate School 338 ${d} 329 339 """) 330 340 from_name = config.name_admin … … 332 342 rcpt_name = referee.name 333 343 rcpt_addr = referee.email 344 session = '%s/%s' % ( 345 applicant.__parent__.year, applicant.__parent__.year+1) 334 346 text = _(text, mapping={ 335 347 'a': rcpt_name, 336 'c': url_info}) 348 'b': applicant.applicant_id, 349 'c': applicant.display_fullname, 350 'd': config.name, 351 'e': applicant.course1.title, 352 'f': session, 353 'g': applicant.__parent__.enddate, 354 'h': url_info, 355 }) 337 356 338 357 body = translate(text, 'waeup.kofa',
Note: See TracChangeset for help on using the changeset viewer.