Changeset 1151 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
29 Dec 2006, 22:05:53 (18 years ago)
Author:
joachim
Message:

ask for email and password

Location:
WAeUP_SRP/trunk/skins
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1096 r1151  
    3737        students = context.portal_url.getPortalObject().campus.students
    3838        student = getattr(students,str(member))
    39         student_app = getattr(student,'application')
     39        if request.has_key('email'):
     40            context.waeup_tool.makeStudentData(str(member),email=request.get("email"))
     41        student_app = getattr(student,'application',None)
     42        if student_app is None:
     43            context.waeup_tool.makeStudentData(str(member))
     44        student_app = getattr(student,'application',None)
    4045        student_pume = getattr(student,'pume',None)
    4146        s_review_state = wftool.getInfoFor(student,'review_state',None)
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py

    r1060 r1151  
    7171                                              sex = ds.get('sex'),
    7272                                             )
     73    elif context.portal_type == "Course":
     74        context.courses_catalog.modifyRecord(**ds)
    7375    if cpsdocument_edit_and_view_button is not None:
    7476        action = ''
  • WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py

    r1146 r1151  
    1515
    1616res,psm,ds = lt.renderLayout(layout_id= 'student_session_results_search',
    17                       schema_id= 'student_clearance',
     17                      schema_id= 'student_returning',
    1818                      context=context,
    1919                      mapping=validate and REQUEST,
     
    4040                                 )
    4141elif psm == 'valid':
     42##    context.waeup_tool.makeStudent(ds.get('student'),
     43##                                   results=ds.get('results'))
    4244    return context.session_results_anon_view(student=ds.get('student'),
    4345                                           results=ds.get('results'))
  • WAeUP_SRP/trunk/skins/waeup_student/display_session_results_form.pt

    r1146 r1151  
    11<tal:block define="rendered_main options/rendered;
    2                    portal_status_message options/psm;
    3                    data_storage options/ds;
    4                    edition python:1;"
     2           portal_status_message options/psm;
     3           data_storage options/ds;
     4           edition python:1;"
     5           >
     6  <metal:block define-macro="edit_form">
     7    <metal:block use-macro="here/content_lib_master/macros/master">
     8      <metal:block fill-slot="header"
     9                   tal:define="creation creation|nothing;
     10                   edition edition|nothing;
     11                   metadata metadata|nothing"
    512                   >
    6 <metal:block define-macro="edit_form">
    7   <metal:block use-macro="here/content_lib_master/macros/master">
    8   <metal:block fill-slot="header"
    9     tal:define="creation creation|nothing;
    10                 edition edition|nothing;
    11                 metadata metadata|nothing"
    12                 >
    13     </metal:block>
     13      </metal:block>
    1414      <metal:block fill-slot="main">
    1515        <h3>Display Your 2005/2006 Session Results! </h3>
  • WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt

    r1149 r1151  
    5252        </span>
    5353      </table>
     54      <a href="" tal:attributes="href string:${context/absolute_url}/set_access_data?matric_no=${student/matric_no}">Continue to Email-entry</a>
    5455    </metal:main>
    5556  </metal:body>
Note: See TracChangeset for help on using the changeset viewer.