Changeset 6365 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 14 Jun 2011, 10:36:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6364 r6365 528 528 title = course_admitted.title 529 529 code = course_admitted.code 530 return '<a href="%s"> %s (%s)</a>' %(url,title,code)530 return '<a href="%s">"%s - %s"</a>' %(url,code,title) 531 531 return 'not yet admitted' 532 532 … … 563 563 title = course_admitted.title 564 564 code = course_admitted.code 565 return '%s (%s)' %(title,code)565 return '%s - %s' %(code,title) 566 566 return 'not yet admitted' 567 567 … … 592 592 width, height = A4 593 593 style = getSampleStyleSheet() 594 pdf.line(1*cm,height-(1. 3*cm),width-(1*cm),height-(1.3*cm))594 pdf.line(1*cm,height-(1.8*cm),width-(1*cm),height-(1.8*cm)) 595 595 596 596 story = [] 597 frame_header = Frame(1*cm,1*cm,width-( 2*cm),height-(1.2*cm))597 frame_header = Frame(1*cm,1*cm,width-(1.7*cm),height-(1.7*cm)) 598 598 header_title = getattr(grok.getSite(), 'name', u'Sample University') 599 599 story.append(Paragraph(header_title, style["Heading1"])) … … 602 602 603 603 story = [] 604 frame_body = Frame(1*cm,1*cm,width-(2*cm),height-(3. 1*cm))604 frame_body = Frame(1*cm,1*cm,width-(2*cm),height-(3.5*cm)) 605 605 story.append(Paragraph(self.label, style["Heading2"])) 606 606 #story.append(HRFlowable()) … … 633 633 634 634 story = [] 635 frame_footer = Frame(1*cm,0 .5*cm,width-(2*cm),1*cm)635 frame_footer = Frame(1*cm,0,width-(2*cm),1*cm) 636 636 timestamp = datetime.now().strftime("%d/%m/%Y %H:%M:%S") 637 637 f_text = '<font size=10>%s</font>' % timestamp
Note: See TracChangeset for help on using the changeset viewer.