Changeset 1102 for WAeUP_SRP


Ignore:
Timestamp:
20 Dec 2006, 09:47:34 (18 years ago)
Author:
joachim
Message:

updates for custom, modified layout for reserve_accommodation

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

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

    r1028 r1102  
    108108   <element value="edit"/>
    109109  </property>
    110   <property name="hidden_layout_modes"/>
     110  <property name="hidden_layout_modes">
     111   <element value="create"/>
     112  </property>
    111113  <property name="hidden_readonly_layout_modes"/>
    112114  <property name="vocabulary">student_status_voc</property>
  • WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py

    r1082 r1102  
    4242info['student'] = student
    4343info['review_state'] = wf.getInfoFor(student,'review_state',None)
    44 info['app'] = student.application
    45 info['app_doc'] = student.application.getContent()
     44#info['app'] = student.application
     45#info['app_doc'] = student.application.getContent()
    4646info['clear'] = student.clearance
    4747info['clear_doc'] = student.clearance.getContent()
  • WAeUP_SRP/trunk/skins/waeup_student/raise_objection.py

    r1082 r1102  
    1919info = context.getStudentInfo()
    2020if not info:
    21     logger.info('"%s", "tried to access", "%s"' % (context.portal_membership.getAuthenticatedMember(),requested_id))
     21    logger.info('"%s", "tried to access", "%s"' % (context.portal_membership.getAuthenticatedMember(),context.getStudentId()))
    2222    return context.admission_form()
    2323current = DateTime.DateTime()
Note: See TracChangeset for help on using the changeset viewer.