Last change
on this file since 17977 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
|
Line | |
---|
1 | ## Script (Python) "getCoursesCertificatesInfo" |
---|
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 | ## |
---|
10 | # $Id: getCoursesCertificatesInfo.py 3473 2008-04-29 09:24:51Z joachim $ |
---|
11 | """ |
---|
12 | return Info about a Department |
---|
13 | """ |
---|
14 | request = context.REQUEST |
---|
15 | |
---|
16 | wf = context.portal_workflow |
---|
17 | path_info = request.get('PATH_INFO').split('/') |
---|
18 | |
---|
19 | #info = context.waeup_tool.getAccessInfo(context) |
---|
20 | info = context.certificates.getFolderObjectsInfo() |
---|
21 | info['action'] = "%s/faculty_view" % context.absolute_url() |
---|
22 | info['choosen_ids'] = request.get('ids',[]) |
---|
23 | info['doc'] = context.getContent() |
---|
24 | info['certificates'] = info['items'] |
---|
25 | return info |
---|
26 | |
---|
Note: See
TracBrowser for help on using the repository browser.