Changeset 46
- Timestamp:
- 11 Oct 2005, 15:59:11 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r45 r46 90 90 'action' : 'string:${object/absolute_url}/create_jamb_form', 91 91 'permission': (), 92 'condition' : 'python: here.portal_type != "Jamb"and len(object.contentItems()) == 0',92 'condition' : 'python:not here.portal_type in ("Jamb","StudentsFolder") and len(object.contentItems()) == 0', 93 93 'category' : 'student', 94 94 'visible' : 1, -
waeup_product/trunk/University.py
r45 r46 21 21 security = ClassSecurityInfo() 22 22 23 security.declarePublic('getStudentFolder') 24 def getStudentsFolder(self): 25 "return the studentsfolder" 26 ## data = self._data 27 ## print data.items() 28 print self.contentItems() 29 print self.contentValues() 30 print self.contentIds() 31 print self.listFolderContents() 32 print self.getContent().objectItems() 33 23 34 InitializeClass(University) 35 24 36 25 37 def addUniversity(container, id, REQUEST=None, **kw): -
waeup_product/trunk/skins/waeup_default/portlet_goto_students.pt
r34 r46 13 13 </tal:block> 14 14 <br /> 15 <a href="" i18n:translate=""16 tal:attributes="href string:${here/portal_url}/sections/ students">Studentadministration</a>15 <a tal:condition="python: 0" href="" i18n:translate="" 16 tal:attributes="href string:${here/portal_url}/sections/unidemo/students">Studentadministration</a> 17 17 </tal:block>
Note: See TracChangeset for help on using the changeset viewer.