Changeset 403 for WAeUP_SRP


Ignore:
Timestamp:
22 Aug 2006, 17:37:12 (18 years ago)
Author:
Henrik Bettermann
Message:

[edit] only visible if permission 'Modify portal content'

File:
1 edited

Legend:

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

    r390 r403  
    125125    <span tal:content="info/type">ID</span>
    126126  </td>
    127   <td align="left" tal:condition="display_buttons">
    128     <a href="dummy"  tal:attributes="href string:${item/absolute_url}/cpsdocument_edit_form">[edit]</a></td>
     127  <td align="left"   tal:define="isManager python:checkPerm('Modify portal content', item)">
     128    <a tal:condition="python: display_buttons and isManager"
     129       href="dummy"  tal:attributes="href string:${item/absolute_url}/cpsdocument_edit_form">[edit]</a></td>
    129130  <td align="center" tal:condition="size_in_tabs">
    130131    <span tal:condition="info/size|nothing" tal:content="info/size"> </span></td>
Note: See TracChangeset for help on using the changeset viewer.