Changeset 8801 for main


Ignore:
Timestamp:
26 Jun 2012, 05:11:07 (13 years ago)
Author:
Henrik Bettermann
Message:

Show hint (field description) between lines in pdf slips like in regular display view.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r8778 r8801  
    398398    screening_score = schema.Int(
    399399        title = _(u'Screening Score'),
     400        description = _(u'Describe Score here.'),
    400401        required = False,
    401402        )
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r8257 r8801  
    265265                                target_language=lang)
    266266            f_label = Paragraph(f_label, ENTRY1_STYLE)
    267             f_text = format_html(widget())
     267            f_text = widget()
     268            f_text = format_html(f_text)
     269            if f_text:
     270                hint = '<br /><font size=9>' + widget.hint + '</font>'
     271                f_text = f_text + hint
    268272            f_text = Paragraph(f_text, ENTRY1_STYLE)
    269273            table_data.append([f_label,f_text])
Note: See TracChangeset for help on using the changeset viewer.