Ignore:
Timestamp:
5 Apr 2012, 10:35:49 (13 years ago)
Author:
Henrik Bettermann
Message:

Insert headlines (separators) between groups of widgets. pdf version will follow.

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

Legend:

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

    r8042 r8045  
    6060grok.context(IKofaObject) # Make IKofaObject the default context
    6161
     62SEPARATORS = {}
     63SEPARATORS['form.course1'] = _(u'Desired Courses')
     64SEPARATORS['form.screening_score'] = _(u'Process Data')
     65
    6266class ApplicantsRootPage(KofaPage):
    6367    grok.context(IApplicantsRoot)
     
    385389    label = _('Applicant')
    386390    pnav = 3
     391    separators = SEPARATORS
    387392
    388393    def update(self):
     
    625630    display_actions = [[_('Save'), _('Final Submit')],
    626631        [_('Add online payment ticket'),_('Remove selected tickets')]]
     632    separators = SEPARATORS
    627633
    628634    def update(self):
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt

    r7811 r8045  
    1313<table i18n:domain="waeup.kofa" class="form-table">
    1414  <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" />
    2516    <tr>
    2617      <td class="fieldname" i18n:translate="">
Note: See TracChangeset for help on using the changeset viewer.