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

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