Changeset 590 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 29 Sep 2006, 10:31:51 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_academics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/faculty_index_view.pt
r586 r590 37 37 <strong tal:content="row/title" /></a> </td> 38 38 <td tal:content="row/id"> </td> 39 <td><a href="edit" tal:attributes="href string:${row/url}/external_edit_form" 39 40 <td> 41 <a tal:condition="row/isManager" 42 href="edit" tal:attributes="href string:${row/url}/external_edit_form" 40 43 target="edit" 41 44 onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> … … 43 46 </a> 44 47 </td> 48 45 49 </tr> 46 50 </table> -
WAeUP_SRP/trunk/skins/waeup_academics/getDepartmentsInfo.py
r573 r590 23 23 roles = member.getRoles() 24 24 info['is_manager'] = 'Manager' in roles or 'SectionManager' in roles 25 info['is_student'] = 'Student' in roles 25 info['is_student'] = 'Student' in roles 26 26 info['action'] = "%s" % context.absolute_url() 27 27 info['choosen_ids'] = request.get('ids',[]) … … 39 39 row['title'] = rd.LongTitle() 40 40 row['url'] = ro.absolute_url() 41 row['isManager'] = mtool.checkPermission('Modify portal content', ro) 41 42 items.append(row) 42 43 info['items'] = items
Note: See TracChangeset for help on using the changeset viewer.