Changeset 1316


Ignore:
Timestamp:
17 Jan 2007, 18:05:49 (18 years ago)
Author:
Henrik Bettermann
Message:

session not displayed on acco slip

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml

    r1146 r1316  
    2020  </property>
    2121  <property name="hidden_readonly_layout_modes"/>
    22   <property name="view_format">medium</property>
    2322 </widget>
    2423 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget">
     
    5049  </property>
    5150  <property name="hidden_readonly_layout_modes"/>
    52   <property name="view_format">medium</property>
    5351 </widget>
    5452 <widget name="acco_res_sc_pin" meta_type="Scratchcard Pin Widget">
     
    5755   <element value="acco_res_sc_pin"/>
    5856  </property>
    59   <property name="is_required">False</property>
    6057  <property name="label">Access Code</property>
    6158  <property name="label_edit">Access Code</property>
     
    115112 <table>
    116113  <row>
    117    <cell name="session"/>
    118   </row>
    119   <row>
    120114   <cell name="bed"/>
    121115  </row>
  • WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py

    r1281 r1316  
    6767Email Address in Personal Data: %s
    6868Date of Birth: %s
    69 Password: %s
     69Password: '%s'
    7070
    7171"""
     
    8282        )
    8383else:
    84        
     84
    8585    info['student'] = student
    8686    info['id'] = student_id
     
    104104        info['password']
    105105        )
    106        
    107        
    108        
    109                    
     106
     107
     108
     109
    110110
    111111return info
  • WAeUP_SRP/trunk/skins/waeup_student/layout_student_acco_view_slip.pt

    r1210 r1316  
    55              dm options/datastructure/getDataModel;
    66              widgets python:context.getRenderedWidgets(layout);
    7               fields python:('session',
    8                                  'bed',
     7              fields python:('bed',
    98                                 'acco_res_sc_pin',
    109                                 'acco_res_date',
  • WAeUP_SRP/trunk/skins/waeup_utilities/deleteStudentByMatricNo.py

    r1310 r1316  
    2525students = context.portal_url.getPortalObject().campus.students
    2626if str(member) not in ('admin','joachim') or matric_no is None:
    27     return 
     27    return
    2828res = st_cat(matric_no=matric_no)
    2929if len(res) != 1:
     
    5151    msg = "%s deleted" % (','.join(res_deleted))
    5252else:
    53     msg = "no results to delete for %s" % matric_no
     53    msg = "No results to delete for %s" % matric_no
    5454output.append(msg)
    5555logger.info(msg)
    5656if hasattr(stdir, student_id):
    5757    stdir.deleteEntry(student_id)
    58     msg = "Student Directoryentry for %s deleted" % student_id
     58    msg = "Student directory entry for %s deleted" % student_id
    5959else:
    60     msg = "No Student Directoryentry for %s" % student_id
     60    msg = "No Student directory entry for %s" % student_id
    6161output.append(msg)
    6262logger.info(msg)
    6363if hasattr(students,student_id):
    6464    students.manage_delObjects((student_id),)
    65     msg = "students entry for %s deleted" % student_id
     65    msg = "Student object for %s deleted" % student_id
    6666else:
    67     msg = "No students entry for %s" % student_id
     67    msg = "No students object for %s" % student_id
    6868output.append(msg)
    6969logger.info(msg)
Note: See TracChangeset for help on using the changeset viewer.