- Timestamp:
- 31 Aug 2006, 17:49:48 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r454 r458 467 467 def Title(self): 468 468 """compose title""" 469 return "Level %s" % self.aq_parent.getId() 469 try: 470 return "Level %s" % self.aq_parent.getId() 471 except: 472 return "no Title for %s" % self.getId() 470 473 471 474 -
WAeUP_SRP/trunk/Students.py
r457 r458 430 430 ###) 431 431 432 class StudyLevel(CPSDocument): ###( 433 """ 434 WAeUP StudyLevel containing the courses and students 435 """ 436 meta_type = 'StudyLevel' 437 portal_type = meta_type 438 security = ClassSecurityInfo() 439 440 security.declareProtected(View,"Title") 441 def Title(self): 442 """compose title""" 443 return "Level %s" % self.aq_parent.getId() 444 445 446 InitializeClass(StudyLevel) 447 448 def addStudyLevel(container, id, REQUEST=None, **kw): 449 """Add a StudyLevel.""" 450 ob = StudyLevel(id, **kw) 451 return CPSBase_adder(container, ob, REQUEST=REQUEST) 452 453 ###) 454 432 455 class StudentStudyLevel(CPSDocument): ###( 433 456 """ -
WAeUP_SRP/trunk/__init__.py
r454 r458 28 28 "Department", 29 29 "Course", 30 "StudyLevel",31 30 "CertificateCourse", 32 31 ) … … 47 46 "ScratchCardBatch", 48 47 "ScratchCardBatchesFolder", 48 "StudyLevel", 49 49 "StudentStudyLevel", 50 50 "Semester", -
WAeUP_SRP/trunk/profiles/default/layouts.xml
r456 r458 2 2 <object name="portal_layouts" meta_type="CPS Layouts Tool"> 3 3 <property name="title"></property> 4 <object name="accobook" meta_type="CPS Layout"/>5 4 <object name="accommodation" meta_type="CPS Layout"/> 6 5 <object name="accopay" meta_type="CPS Layout"/> 7 <object name="admission_slip" meta_type="CPS Layout"/>8 <object name="admission_status" meta_type="CPS Layout"/>9 6 <object name="certificate" meta_type="CPS Layout"/> 10 7 <object name="certificate_course" meta_type="CPS Layout"/> -
WAeUP_SRP/trunk/skins/waeup_custom/getContentInfo.py
r454 r458 190 190 info['id'] = proxy.getId() 191 191 try: 192 info['title'] = proxy.Title() 192 info['title'] = proxy.Title() #proxy.Title() 193 193 except AttributeError: 194 194 raise AttributeError, 'invalid object: %s in %s' % (info['title_or_id'],
Note: See TracChangeset for help on using the changeset viewer.