Changeset 10909 for main/waeup.kofa/branches
- Timestamp:
- 14 Jan 2014, 08:50:07 (11 years ago)
- Location:
- main/waeup.kofa/branches/0.2/src/waeup/kofa
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/0.2/src/waeup/kofa/applicants/browser.py
r10896 r10909 551 551 IWorkflowInfo(self.context).fireTransition('start') 552 552 if usertype == 'applicant' and self.context.state == 'created': 553 session = '%s/%s' % (self.context.__parent__.year, 554 self.context.__parent__.year+1) 555 title = getattr(grok.getSite()['configuration'], 'name', u'Sample University') 553 556 msg = _( 554 557 '\n <strong>Congratulations!</strong>' + 555 ' You have been provisionally admitted' + 556 ' and your student record has been created for you.' + 557 ' Logout again and proceed to the login page of the portal.' + 558 ' You have been provisionally admitted into the' + 559 ' ${c} Academic Session of ${d}.' 560 ' Your student record has been created for you.' + 561 ' Please, logout again and proceed to the' + 562 ' login page of the portal.' 558 563 ' Then enter your new student credentials:' + 559 564 ' user name= ${a}, password = ${b}.' + … … 561 566 mapping = { 562 567 'a':self.context.student_id, 563 'b':self.context.application_number} 568 'b':self.context.application_number, 569 'c':session, 570 'd':title} 564 571 ) 565 572 self.flash(msg) -
main/waeup.kofa/branches/0.2/src/waeup/kofa/applicants/tests/test_browser.py
r10896 r10909 575 575 self.assertTrue( 576 576 '<strong>Congratulations!</strong> You have been provisionally' 577 ' admitted and your student record has been created for you.' 578 in self.browser.contents) 577 ' admitted into the %s/%s Academic Session of' 578 ' Sample University. Your student record has been created for you.' 579 % (session_1, session_1 + 1) in self.browser.contents) 579 580 self.assertTrue( 580 581 'Then enter your new student credentials: user name= my id,' -
main/waeup.kofa/branches/0.2/src/waeup/kofa/browser/templates/staffsitelayout.pt
r10163 r10909 126 126 </div> 127 127 <div i18n:translate=""> 128 Copyright © WAeUP Group 2008-201 3128 Copyright © WAeUP Group 2008-2014 129 129 </div> 130 130 </div> -
main/waeup.kofa/branches/0.2/src/waeup/kofa/browser/templates/studentsitelayout.pt
r10163 r10909 111 111 </div> 112 112 <div i18n:translate=""> 113 Copyright © WAeUP Group 2008-201 3113 Copyright © WAeUP Group 2008-2014 114 114 </div> 115 115 </div> -
main/waeup.kofa/branches/0.2/src/waeup/kofa/students/payments.py
r10449 r10909 171 171 return self.context.student.depcode 172 172 173 @property 174 def email(self): 175 "Email of payer" 176 return self.context.student.email 177 178 @property 179 def phone(self): 180 "Phone number of payer" 181 return self.context.student.phone 182 183 @property 184 def current_mode(self): 185 "Current study mode of payer" 186 return self.context.student.current_mode 187 188 @property 189 def current_level(self): 190 "Current level of payer" 191 return self.context.student.current_level 192 173 193 # Student online payments must be importable. So we might need a factory. 174 194 class StudentOnlinePaymentFactory(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.