Changeset 10437
- Timestamp:
- 29 Jul 2013, 15:46:37 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r10266 r10437 581 581 tableheader_2=None, tabledata_2=None, 582 582 tableheader_3=None, tabledata_3=None, 583 tableheader_4=None, tabledata_4=None, 584 tableheader_5=None, tabledata_5=None, 585 tableheader_6=None, tabledata_6=None, 583 586 note=None, signatures=None, sigs_in_footer=(), 584 587 show_scans=True, topMargin=1.5, … … 657 660 data.append(contenttable) 658 661 662 # Insert 4th content table (optionally on second page) 663 if tabledata_4 and tableheader_4: 664 #data.append(PageBreak()) 665 #data.append(Spacer(1, 20)) 666 data.append(Paragraph(view.content_title_4, HEADING_STYLE)) 667 data.append(Spacer(1, 8)) 668 contenttable = render_table_data(tableheader_4,tabledata_4) 669 data.append(contenttable) 670 671 # Insert 5th content table (optionally on second page) 672 if tabledata_5 and tableheader_5: 673 #data.append(PageBreak()) 674 #data.append(Spacer(1, 20)) 675 data.append(Paragraph(view.content_title_5, HEADING_STYLE)) 676 data.append(Spacer(1, 8)) 677 contenttable = render_table_data(tableheader_5,tabledata_5) 678 data.append(contenttable) 679 680 # Insert 6th content table (optionally on second page) 681 if tabledata_6 and tableheader_6: 682 #data.append(PageBreak()) 683 #data.append(Spacer(1, 20)) 684 data.append(Paragraph(view.content_title_6, HEADING_STYLE)) 685 data.append(Spacer(1, 8)) 686 contenttable = render_table_data(tableheader_6,tabledata_6) 687 data.append(contenttable) 688 659 689 # Insert signatures 660 690 # XXX: We are using only sigs_in_footer in waeup.kofa, so we -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r10302 r10437 141 141 142 142 SEMESTER_DICT = { 143 1: ' First Semester',144 2: ' Second Semester',143 1: '1st Semester', 144 2: '2nd Semester', 145 145 3: 'Combined', 146 146 9: 'N/A'
Note: See TracChangeset for help on using the changeset viewer.