Changeset 7310 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 8 Dec 2011, 08:38:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7304 r7310 548 548 return students_utils.renderPDF( 549 549 self,'Clearance', 'clearance.pdf', 550 self.context.getStudent , studentview)550 self.context.getStudent(), studentview) 551 551 552 552 class StudentClearanceManageFormPage(WAeUPEditFormPage): … … 781 781 pnav = 4 782 782 783 def update(self): 784 super(StudyLevelDisplayFormPage, self).update() 785 datatable.need() 786 return 787 783 788 @property 784 789 def title(self): … … 825 830 return students_utils.renderPDF( 826 831 self,'Course Registration', 'course_registration.pdf', 827 self.context.getStudent, studentview, 828 tableheader=[('Code','code'), ('Title','title'), 829 ('Department','dcode'), ('Faculty','fcode'), 830 ('Credits', 'credits'), 831 ('Mandatory', 'core_or_elective'), 832 ('Score', 'score'),('Auto', 'automatic') 832 self.context.getStudent(), studentview, 833 tableheader=[('Sem.','semester', 1.5),('Code','code', 2.5), 834 ('Title','title', 5), 835 ('Dept.','dcode', 1.5), ('Faculty','fcode', 1.5), 836 ('Cred.', 'credits', 1.5), 837 ('Mand.', 'core_or_elective', 1.5), 838 ('Score', 'score', 1.5),('Auto', 'automatic', 1.5) 833 839 ], 834 840 tabledata=self.context.values()) … … 1263 1269 students_utils = getUtility(IStudentsUtils) 1264 1270 return students_utils.renderPDF(self,'Payment', 'payment_receipt.pdf', 1265 self.context.getStudent , studentview)1271 self.context.getStudent(), studentview) 1266 1272 1267 1273 # We don't need the display form page yet … … 1484 1490 return students_utils.renderPDF( 1485 1491 self,'Bed Allocation', 'bed_allocation.pdf', 1486 self.context.getStudent , studentview)1492 self.context.getStudent(), studentview) 1487 1493 1488 1494 class RelocateStudentActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.