Changeset 7340 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 14 Dec 2011, 07:04:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7337 r7340 58 58 from waeup.sirp.students.vocabularies import StudyLevelSource 59 59 from waeup.sirp.browser.resources import toggleall 60 from waeup.sirp.applicants.interfaces import IApplicantBaseData 60 61 from waeup.sirp.hostels.hostel import NOT_OCCUPIED 61 62 from waeup.sirp.utils.helpers import send_mail … … 100 101 def title(self): 101 102 return self.context.fullname 103 104 class ApplicationBreadcrumb(Breadcrumb): 105 """A breadcrumb for the application data. 106 """ 107 grok.context(IApplicantBaseData) 108 title = 'Application' 102 109 103 110 class SudyCourseBreadcrumb(Breadcrumb): … … 468 475 write_log_message(self, 'saved: % s' % fields_string) 469 476 return 477 478 class StudentApplicationDisplayFormPage(SIRPDisplayFormPage): 479 """ Page to display application data 480 """ 481 grok.context(IApplicantBaseData) 482 grok.name('index') 483 grok.require('waeup.viewStudent') 484 form_fields = grok.AutoFields(IApplicantBaseData) 485 title = 'Application Data' 486 pnav = 4 487 488 @property 489 def label(self): 490 return '%s: Application Data' % self.context.getStudent().fullname 470 491 471 492 class StudentClearanceDisplayFormPage(SIRPDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.