- Timestamp:
- 14 Nov 2006, 16:15:38 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/__init__.py
r828 r867 14 14 import PatchCatalogToolXMLAdapter 15 15 import PatchCPSSchemasAttributeStorageAdapter 16 import PatchBasicWidgetsCPSStringWidget 16 17 # Only for CPS 3.4.1. In 3.4.2 and later this should be fixed. 17 18 import PatchCPSDefaultImportExport -
WAeUP_SRP/trunk/profiles/default/rolemap.xml
r861 r867 3 3 <roles> 4 4 <role name="Staff"/> 5 <role name="Clearance Manager"/>5 <role name="ClearanceOfficer"/> 6 6 <role name="Student"/> 7 7 <role name="SectionReader"/> -
WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py
r861 r867 18 18 mtool = getToolByName(context, 'portal_membership') 19 19 #return mtool.getCPSCandidateLocalRoles(context) 20 return ['SectionReader','SectionManager','Clearance Manager']20 return ['SectionReader','SectionManager','ClearanceOfficer'] -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_buttons.pt
-
Property
Id
set to
skins/waeup_default/waeup_edit_form.pt
-
Property
svn:keywords
set to
Id
-
Property
Id
set to
-
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r849 r867 53 53 info['per_doc'] = student.personal.getContent() 54 54 course = getattr(student,'study_course',None) 55 # 55 56 info['course'] = course 56 57 if course: … … 59 60 if info['per_doc'].sex: 60 61 info['sex'] = 'female' 61 ##res = context.portal_catalog(container_path=student_path, 62 ## portal_type='StudentAccommodation') 63 ##if res: 64 ## acco = res[0].getObject() 62 # 65 63 acco = getattr(student,'accommodation_2006',None) 66 #if acco.portal_type != "StudentAccommodation":67 # acco = None68 64 info['acco'] = acco 69 65 if acco is not None: 70 66 info['acco_doc'] = acco.getContent() 71 67 info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 72 ##res = context.portal_catalog(container_path=student_path, 73 ## portal_type='StudentClearance') 74 ##if res: 75 ## clear = res[0].getObject() 76 ## info['clear'] = clear 68 # 77 69 clear = getattr(student,'clearance',None) 78 70 info['clear'] = clear … … 80 72 info['clear_doc'] = clear.getContent() 81 73 info['clear_review_state'] = wf.getInfoFor(clear,'review_state',None) 82 83 ##res = context.portal_catalog(container_path=student_path, 84 ## portal_type='StudentPume') 85 ##if res: 86 ## pume = res[0].getObject() 87 ## info['pume'] = clear 74 # 88 75 pume = getattr(student,'pume',None) 89 76 info['pume'] = pume
Note: See TracChangeset for help on using the changeset viewer.