Changeset 382
- Timestamp:
- 16 Aug 2006, 22:09:45 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r379 r382 43 43 def Title(self): 44 44 """compose title""" 45 return "Academic sSection"45 return "Academic Section" 46 46 47 47 security.declareProtected(ModifyPortalContent,"loadFacultiesFromCSV")###( … … 307 307 dict = {} 308 308 dict['original_code'] = certificate.get('CertCode') 309 print 309 print 310 310 c.getContent().edit(mapping=dict) 311 311 return self.academics.academics_contents() -
WAeUP_SRP/trunk/Students.py
r364 r382 80 80 d['sex'] = student.get('Sex') == 'F' 81 81 d['nationality'] = student.get('Nationality') 82 d['state'] = student.get('State') 83 d['lga'] = student.get('LGA') 82 d['state'] = student.get('State') 83 d['lga'] = student.get('LGA') 84 84 d['street'] = student.get('PermanentAddress') 85 85 d['city'] = student.get('PermanentAddressCity') … … 134 134 return self.students.folder_contents() 135 135 ###) 136 137 security.declareProtected(View,"Title") 138 def Title(self): 139 """compose title""" 140 return "Student sSection"136 137 security.declareProtected(View,"Title") 138 def Title(self): 139 """compose title""" 140 return "Student Section" 141 141 142 142 InitializeClass(StudentsFolder) … … 274 274 """compose title""" 275 275 content = self.getContent() 276 return "Course Major" 276 return "Course Major" 277 277 278 278 -
WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml
r370 r382 52 52 <action title="Faculties" action_id="import_faculties" category="import" 53 53 condition_expr="" url_expr="string:${object_url}/loadFacultiesFromCSV" 54 visible="True"/> 54 visible="True"> 55 <permission value="Modify portal content"/> 56 </action> 55 57 <action title="Departments" action_id="import_departments" category="import" 56 58 condition_expr="" url_expr="string:${object_url}/loadDepartmentsFromCSV"
Note: See TracChangeset for help on using the changeset viewer.