Changeset 2124


Ignore:
Timestamp:
19 Aug 2007, 11:40:16 (17 years ago)
Author:
Henrik Bettermann
Message:

Students.py: more detailed logging during transfer

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r2083 r2124  
    103103    if lga.find('/') > -1:
    104104        lgadic = lga.split('/')
    105         return lgadic[0].upper(),lgadic[1].upper()   
     105        return lgadic[0].upper(),lgadic[1].upper()
    106106    return "",lga
    107107
     
    535535            if clearance is None:
    536536                em = 'Student has no clearance object'
    537                 logger.info(em)
     537                logger.info('%s (%s) %s' % (student_brain.id, old_matric_no, em))
    538538                result['Error'] = em
    539539                not_imported.append( format_error % result)
     
    558558            if icl == int(old_current_level) and old_study_course == new_study_course:
    559559                em = 'Already transferred'
    560                 logger.info(em)
     560                logger.info('%s (%s) %s' % (student_brain.id, old_matric_no, em))
    561561                result['Error'] = em
    562562                not_imported.append( format_error % result)
     
    565565            if study_course.objectIds():
    566566                em = 'Already registered level %s for %s, but is supposed to study %s at level %s' % (old_current_level,old_study_course,new_study_course,current_level)
    567                 logger.info(em)
     567                logger.info('%s (%s) %s' % (student_brain.id, old_matric_no, em))
    568568                result['Error'] = em
    569569                not_imported.append( format_error % result)
  • WAeUP_SRP/trunk/profiles/default/layouts/application.xml

    r2123 r2124  
    361361  </widget>
    362362  <widget name="pin" meta_type="Pume Pin Widget">
    363     <property name="title">PIN</property>
     363    <property name="title">Access Code</property>
    364364    <property name="fields">
    365365      <element value="pin"/>
    366366    </property>
    367     <property name="label">PIN</property>
    368     <property name="label_edit">PIN</property>
     367    <property name="label">Access Code</property>
     368    <property name="label_edit">Access Code</property>
    369369    <property name="description"></property>
    370370    <property name="help"></property>
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume_form.pt

    r2114 r2124  
    4747                 class="standalone"
    4848                 name="create"
    49                  value="Show PUME Application Record"
     49                 value="Show Application Record"
    5050                 tal:condition="python: mode == 'create'"
    5151                 />
Note: See TracChangeset for help on using the changeset viewer.