Changeset 96 for waeup_product/trunk/skins/waeup_student
- Timestamp:
- 27 Oct 2005, 06:51:08 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/create_jamb.py
r89 r96 41 41 context.invokeFactory('Student',s_id) 42 42 student = getattr(context,s_id) 43 student. edit(mapping=skw)43 student.getContent().edit(mapping=skw) 44 44 context.notifyCPSDocumentCreation(ob=student) 45 45 jamb_id = 'JAMB' … … 47 47 jamb = getattr(student,jamb_id) 48 48 ds.set('title', name) 49 jamb. edit(mapping=ds)49 jamb.getContent().edit(mapping=ds) 50 50 context.notifyCPSDocumentCreation(ob=jamb) 51 51 psm = 'Student created' -
waeup_product/trunk/skins/waeup_student/student_index_html.py
r91 r96 7 7 8 8 #return context.student_view_manager() 9 if not context.portal_membership.isAnonymousUser :9 if not context.portal_membership.isAnonymousUser(): 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/student_personal_index_html.py
r91 r96 7 7 8 8 #return context.student_view_manager() 9 if not context.portal_membership.isAnonymousUser :9 if not context.portal_membership.isAnonymousUser(): 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/students_folder_view.py
r91 r96 7 7 8 8 member = context.portal_membership.getAuthenticatedMember() 9 if not context.portal_membership.isAnonymousUser :9 if not context.portal_membership.isAnonymousUser(): 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles:
Note: See TracChangeset for help on using the changeset viewer.