- Timestamp:
- 25 Sep 2007, 09:24:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_academics/getCertificatesInfo.py
r913 r2273 37 37 for r in res: 38 38 row = {} 39 ro = r.getObject() 40 rd = ro.getContent() 41 row['id'] = r.getId 42 row['title'] = rd.Title() 43 row['url'] = ro.absolute_url() 44 row['review_state'] = wf.getInfoFor(ro,'review_state','None') 45 row['is_editable'] = mtool.checkPermission('Modify portal content', ro) 46 items.append(row) 39 try: 40 ro = r.getObject() 41 rd = ro.getContent() 42 row['id'] = r.getId 43 row['title'] = rd.Title() 44 row['url'] = ro.absolute_url() 45 row['review_state'] = wf.getInfoFor(ro,'review_state','None') 46 row['is_editable'] = mtool.checkPermission('Modify portal content', ro) 47 items.append(row) 48 except AttributeError: 49 continue 47 50 info['items'] = items 48 51 return info
Note: See TracChangeset for help on using the changeset viewer.