source: WAeUP_SRP/trunk/skins/waeup_academics/getCoursesCertificatesInfo.py @ 4028

Last change on this file since 4028 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"""
12return Info about a Department
13"""
14request = context.REQUEST
15
16wf = context.portal_workflow
17path_info = request.get('PATH_INFO').split('/')
18
19#info = context.waeup_tool.getAccessInfo(context)
20info = context.certificates.getFolderObjectsInfo()
21info['action'] = "%s/faculty_view" % context.absolute_url()
22info['choosen_ids'] = request.get('ids',[])
23info['doc'] = context.getContent()
24info['certificates'] = info['items']
25return info
26
Note: See TracBrowser for help on using the repository browser.