Changeset 11869 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 22 Oct 2014, 06:26:31 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r11738 r11869 273 273 ) 274 274 275 application_slip_notice = schema.Text( 276 title = _(u'Human readable notice on application slip in HTML format'), 277 required = False, 278 ) 279 280 275 281 hidden= schema.Bool( 276 282 title = _(u'Hide container'), -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py
r10650 r11869 45 45 grok.implements(IPDF) 46 46 grok.name('application_slip') 47 note = None48 47 49 48 form_fields = grok.AutoFields(IApplicant).omit( … … 54 53 'firstname', 'middlename', 'lastname') 55 54 two_columns_design_fields = [] 55 56 @property 57 def note(self): 58 return getattr(self.context.__parent__, 'application_slip_notice', None) 56 59 57 60 @property -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
r11737 r11869 71 71 self.assertEqual( 72 72 result, 73 'application_category,application_fee, code,description,'73 'application_category,application_fee,application_slip_notice,code,description,' 74 74 'enddate,hidden,mode,prefix,startdate,strict_deadline,title,year\r\n' 75 75 76 'basic,0.0, dp2012,'76 'basic,0.0,,dp2012,' 77 77 '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",' 78 78 '2012-01-31 23:00:00+00:00#,0,,app,2012-01-01 12:00:00+00:00#,1,'
Note: See TracChangeset for help on using the changeset viewer.