Ignore:
Timestamp:
14 Jun 2011, 10:36:22 (14 years ago)
Author:
Henrik Bettermann
Message:

More finetuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6364 r6365  
    528528            title = course_admitted.title
    529529            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)
    531531        return 'not yet admitted'
    532532
     
    563563            title = course_admitted.title
    564564            code = course_admitted.code
    565             return '%s (%s)' %(title,code)
     565            return '%s - %s' %(code,title)
    566566        return 'not yet admitted'
    567567
     
    592592        width, height = A4
    593593        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))
    595595
    596596        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))
    598598        header_title = getattr(grok.getSite(), 'name', u'Sample University')
    599599        story.append(Paragraph(header_title, style["Heading1"]))
     
    602602
    603603        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))
    605605        story.append(Paragraph(self.label, style["Heading2"]))
    606606        #story.append(HRFlowable())
     
    633633
    634634        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)
    636636        timestamp = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
    637637        f_text = '<font size=10>%s</font>' % timestamp
Note: See TracChangeset for help on using the changeset viewer.