Ignore:
Timestamp:
7 Nov 2007, 10:50:54 (17 years ago)
Author:
joachim
Message:

make only visible for staff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_directory/search_members_form.pt

    r1917 r2564  
    33  global dir here/portal_directories/?dirname;
    44  global dirtitle dir/title_or_id;
    5   "/>
     5  global allowed context/isStaff;"
     6  />
    67  <metal:block use-macro="here/main_template/macros/master" >
    7   <metal:block fill-slot="action_slot"
     8  <metal:block tal:condition="allowed"
     9               fill-slot="action_slot"
    810               tal:define="actions python:context.getMembersDirectoryActions('search')">   
    911     <span metal:use-macro="here/member_view/macros/members_actions" />
    1012  </metal:block>
    11   <metal:block fill-slot="main" tal:define="
     13  <metal:block fill-slot="main">
     14    <metal:block tal:condition="not: allowed">
     15      <span tal:content="here/illegal_view" />
     16    </metal:block>
     17    <metal:block tal:condition="allowed">
     18      <metal:block
     19          tal:define="
    1220          validate python: request.has_key('cpsdirectory_search_button');
    1321          res python: dir.renderSearchDetailed(request=request, validate=validate,
     
    1725          ds python: res[2];
    1826          global portal_status_message python: (validate and not ok and
    19           'psm_content_error') or request.form.get('portal_status_message', '');">
    20     <h3>
    21       Search Member Section
    22     </h3>
    23     <br />
    24     <div tal:replace="structure rendered_main">Rendered main...</div>
     27          'psm_content_error') or request.form.get('portal_status_message', '');"
     28          >
     29        <h3>
     30          Search Member Section
     31        </h3>
     32        <br />
     33        <div tal:replace="structure rendered_main">Rendered main...</div>
     34      </metal:block>
     35    </metal:block>
    2536  </metal:block>
    2637</metal:block>
Note: See TracChangeset for help on using the changeset viewer.