Last change
on this file since 17947 was
3473,
checked in by joachim, 17 years ago
|
remove Title from all StudentObjects?,
adjust templates to use getStudentObjectitles,
remove waeup_academics.getDocumentInfo (was duplicate),
do not use portal_catalog for listing faculties and departments.
|
-
Property svn:keywords set to
Id
|
File size:
648 bytes
|
Rev | Line | |
---|
[845] | 1 | ## Script (Python) "getCoursesCertificatesInfo" |
---|
[554] | 2 | ##bind container=container |
---|
| 3 | ##bind context=context |
---|
| 4 | ##bind namespace= |
---|
| 5 | ##bind script=script |
---|
| 6 | ##bind subpath=traverse_subpath |
---|
| 7 | ##parameters=student=None |
---|
| 8 | ##title= |
---|
| 9 | ## |
---|
[805] | 10 | # $Id: getCoursesCertificatesInfo.py 3473 2008-04-29 09:24:51Z joachim $ |
---|
[554] | 11 | """ |
---|
[3473] | 12 | return Info about a Department |
---|
[554] | 13 | """ |
---|
| 14 | request = context.REQUEST |
---|
| 15 | |
---|
| 16 | wf = context.portal_workflow |
---|
| 17 | path_info = request.get('PATH_INFO').split('/') |
---|
| 18 | |
---|
[3473] | 19 | #info = context.waeup_tool.getAccessInfo(context) |
---|
| 20 | info = context.certificates.getFolderObjectsInfo() |
---|
[653] | 21 | info['action'] = "%s/faculty_view" % context.absolute_url() |
---|
[554] | 22 | info['choosen_ids'] = request.get('ids',[]) |
---|
| 23 | info['doc'] = context.getContent() |
---|
[3473] | 24 | info['certificates'] = info['items'] |
---|
[554] | 25 | return info |
---|
[1434] | 26 | |
---|
Note: See
TracBrowser for help on using the repository browser.