Changeset 11898 for main/waeup.kwarapoly/branches/uli-crs-reg-slip/src/waeup/kwarapoly/students/browser.py
- Timestamp:
- 28 Oct 2014, 23:14:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/branches/uli-crs-reg-slip/src/waeup/kwarapoly/students/browser.py
r11887 r11898 321 321 (Signature, 'dummy', 3), 322 322 ]) 323 if len(self.label.split('\n')) == 3: 324 topMargin = 1.9 325 elif len(self.label.split('\n')) == 2: 326 topMargin = 1.7 327 else: 328 topMargin = 1.5 323 topMargin = 1.5 + (self.label.count('\n') * 0.2) 329 324 return students_utils.renderPDF( 330 325 self, 'course_registration_slip.pdf',
Note: See TracChangeset for help on using the changeset viewer.