Changeset 8313 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 29 Apr 2012, 20:40:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py
r8286 r8313 82 82 def _addComments(self, data): 83 83 if self.context.state == 'created': 84 comment 1 =_(84 comment = translate(_( 85 85 'Proceed to the login page of the portal' + 86 86 ' and enter your new credentials:' + 87 ' user name= ${a}, password = ${b}.', mapping = { 87 ' user name= ${a}, password = ${b}. ' + 88 'Change your password when you have logged in.', 89 mapping = { 88 90 'a':self.context.student_id, 89 91 'b':self.context.application_number} 90 ) 91 comment2 = _( 92 'Change your password when you have logged in.' 93 ) 94 comment1 = Paragraph(comment1, SMALL_PARA_STYLE) 95 comment2 = Paragraph(comment2, SMALL_PARA_STYLE) 96 data.extend([Spacer(1, 18), comment1, comment2]) 92 )) 93 comment = Paragraph(comment, SMALL_PARA_STYLE) 94 data.extend([Spacer(1, 18), comment]) 97 95 return data 98 96
Note: See TracChangeset for help on using the changeset viewer.