Ignore:
Timestamp:
29 Sep 2006, 15:26:36 (18 years ago)
Author:
Henrik Bettermann
Message:

open external edit windows in faculty_index_view.pt
and showing [edit] link only if permitted

Location:
WAeUP_SRP/trunk/skins/waeup_academics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/faculty_index_view.pt

    r590 r597  
    3939
    4040            <td>
    41             <a tal:condition="row/isManager"
     41            <a tal:condition="row/is_edit_allowed"
    4242                href="edit" tal:attributes="href string:${row/url}/external_edit_form"
    4343                target="edit"
  • WAeUP_SRP/trunk/skins/waeup_academics/getDepartmentsInfo.py

    r590 r597  
    3939    row['title'] = rd.LongTitle()
    4040    row['url'] = ro.absolute_url()
    41     row['isManager'] = mtool.checkPermission('Modify portal content', ro)
     41    row['is_edit_allowed'] = mtool.checkPermission('Modify portal content', ro)
    4242    items.append(row)
    4343info['items'] = items
Note: See TracChangeset for help on using the changeset viewer.