Changeset 1836


Ignore:
Timestamp:
30 May 2007, 10:41:15 (17 years ago)
Author:
Henrik Bettermann
Message:

layout_clearance_edit.pt: table alignment changed
Widgets.py: error messages improved

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r1820 r1836  
    198198        studymodes = self._getStudyModes()
    199199        if not value:
    200             v = value = 'ume_ft' 
     200            v = value = 'ume_ft'
    201201        #import pdb;pdb.set_trace()
    202202        if not studymodes.has_key(value):
     
    592592            pume = jamb_nr_catalog(jamb_reg_no = value)
    593593            if len(pume) < 1:
    594                 err = 'No student record with registration number %s in %s.' % (value,jamb_nr_catalog)
     594                err = 'No student record with registration number %s in %s.' % (value,jamb_nr_catalog.id)
    595595            else:
    596596                datastructure['pume'] = pume[0]
     
    736736                if len(res) < 1:
    737737                    logger.info('matric_no %s not found' % value)
    738                     err = 'No student in returning import catalog with matriculation number %s' % (value)
     738                    err = 'No student with matriculation number %s in %s' % (value, returning.id)
    739739                    break
    740740                datastructure['student'] = res[0]
  • WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_edit.pt

    r842 r1836  
    3535          id python:widget.getHtmlWidgetId()+'_widget';"
    3636          >
    37             <td valign="top">
     37            <td>
    3838            <div class="label" tal:condition="widget/label_edit"
    3939                 tal:attributes="class python:test(is_required, 'label required','label')">
     
    4545                    tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    4646            </td>
    47             <td valign="top">
     47            <td valign="bottom">
    4848            <span class="field">
    4949              <div tal:replace="structure cell/widget_rendered"/>
Note: See TracChangeset for help on using the changeset viewer.