Changeset 522


Ignore:
Timestamp:
15 Sep 2006, 08:36:57 (18 years ago)
Author:
joachim
Message:

student can now loggin, status is displayed

Location:
WAeUP_SRP/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r519 r522  
    411411                             roles=('Member',
    412412                                     'Student',
    413                                      'Owner'),
     413                                     ),
    414414                             domains='',
    415                              properties = None,)
     415                             properties = {'memberareaCreationFlag': False,},)
    416416        member = membership.getMemberById(sid)
    417417        self.portal_registration.afterAdd(member, sid, password, None)
  • WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py

    r521 r522  
    1515member_id = str(member)
    1616member.setProperties(last_login_time=current,login_time=current)
    17 student = getattr(context.students,member_id)
     17student = getattr(context.campus.students,member_id,)
    1818application = student.application
    1919if context.portal_workflow.getInfoFor(student,
  • WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt

    r516 r522  
    55                   roles member/getRoles;
    66                   item nocall:options/context_obj;
    7                    info item/getContentInfo;"
     7                   info item/get_student_info;"
    88           condition="python:'Student' in roles
    99           ">
Note: See TracChangeset for help on using the changeset viewer.