Changeset 8045
- Timestamp:
- 5 Apr 2012, 10:35:49 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8042 r8045 60 60 grok.context(IKofaObject) # Make IKofaObject the default context 61 61 62 SEPARATORS = {} 63 SEPARATORS['form.course1'] = _(u'Desired Courses') 64 SEPARATORS['form.screening_score'] = _(u'Process Data') 65 62 66 class ApplicantsRootPage(KofaPage): 63 67 grok.context(IApplicantsRoot) … … 385 389 label = _('Applicant') 386 390 pnav = 3 391 separators = SEPARATORS 387 392 388 393 def update(self): … … 625 630 display_actions = [[_('Save'), _('Final Submit')], 626 631 [_('Add online payment ticket'),_('Remove selected tickets')]] 632 separators = SEPARATORS 627 633 628 634 def update(self): -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt
r7811 r8045 13 13 <table i18n:domain="waeup.kofa" class="form-table"> 14 14 <tbody> 15 <tal:block repeat="widget view/widgets"> 16 <tr> 17 <td class="fieldname"> 18 <tal:block content="widget/label"/>: 19 </td> 20 <td> 21 <span tal:replace="structure widget" /> 22 </td> 23 </tr> 24 </tal:block> 15 <tal:widgets content="structure provider:widgets" /> 25 16 <tr> 26 17 <td class="fieldname" i18n:translate=""> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/static/waeup-base.css
r7811 r8045 223 223 color: #bfbfbf; 224 224 } 225 226 .separator { 227 font-size: 16px; 228 color: #404040; 229 font-weight: bold; 230 line-height: 36px; 231 } -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/widgets.pt
r7872 r8045 1 1 <tal:block repeat="widget view/widgets"> 2 <tr tal:define="separators view/separators|nothing" 3 tal:condition="python: separators and separators.get(widget.name,None)"> 4 <td class="separator" colspan=2 tal:content="python: separators[widget.name]"> 5 HEADLINE 6 </td> 7 </tr> 2 8 <tr> 3 9 <td class="fieldname">
Note: See TracChangeset for help on using the changeset viewer.