- Timestamp:
- 27 Sep 2006, 08:52:17 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_academics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/getCoursesInfo.py
r563 r566 28 28 info['choosen_ids'] = request.get('ids',[]) 29 29 info['doc'] = context.getContent() 30 brain = context.portal_catalog(meta_type="Department",id = dep_id)[-1] 30 res = context.portal_catalog(meta_type="Department",id = dep_id) 31 info['courses'] = [] 32 if not res: 33 return info 34 brain = res[-1] 31 35 cp = brain.getPath() 32 36 info['container_path'] = cp -
WAeUP_SRP/trunk/skins/waeup_academics/getLevelInfo.py
r565 r566 53 53 else: 54 54 second.append(row) 55 first.sort() 56 second.sort() 55 57 info['first'] = first 56 58 info['second'] = second -
WAeUP_SRP/trunk/skins/waeup_academics/level_index_view.pt
r556 r566 38 38 <td><a href="view" tal:attributes="href string:${row/url}"> 39 39 <strong tal:content="row/title" /></a> </td> 40 <td tal:content="row/id"></td> 40 41 <td tal:content="python: test(row['core'],'core','elective')"></td> 41 42 </tr>
Note: See TracChangeset for help on using the changeset viewer.