Changeset 2348 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
11 Oct 2007, 10:28:55 (17 years ago)
Author:
Henrik Bettermann
Message:

show 'Search Mewmbers' and 'Create New Member' for MemberAdmins? only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_directory/getMembersDirectoryActions.py

    r1906 r2348  
    3131                 'new_entry',
    3232                 'Create New Member',
    33                  base_url+'member_create_form?dirname=members',   
     33                 base_url+'member_create_form?dirname=members',
    3434                ),
    3535                ('search_action',
     
    6262                     'category': 'object',
    6363                    }
     64if not dtool.members.isSectionOfficer():                   
     65    return [ad['view_action'],
     66            ad['edit_action']
     67           ]
     68                   
    6469if mode in ['view', 'edit']:
    6570    return [ad['view_action'],
Note: See TracChangeset for help on using the changeset viewer.