# You must use a tab-size of 4 spaces to edit this file.
---
sections:
    
    # Show the name of the logged in Extranet User
    # (N.b. the options to log in/edit/log out are currently commented out.)
    extranet_user:
        buttons:
            logged_in:
                label: ''
            edit_user:
                parent: logged_in
                priv: _PRIV_VIEW_USER
                label: ''
                admin_box:
                    path: zenario_user__details
                    key:
                        id: ''
            view_user:
                parent: logged_in
                priv: _PRIV_VIEW_USER
                label: View in Organizer
                onclick: |
                    zenario.goToURL(URLBasePath + 'organizer.php?fromCID=' + zenario.cID + '&fromCType=' + zenario.cType + '#zenario__users/panels/users//' + zenario.userId);
            logout:
                parent: logged_in
                label: Logout...
                admin_box:
                    path: zenario__logout
                    key:
                        openFromAdminToolbar: true
            
            logged_out:
                label: Viewing as anonymous visitor
            impersonate_previous:
                priv: _PRIV_IMPERSONATE_USER
                parent: logged_out
                label: ''
                admin_box:
                    path: zenario__impersonate
                    key:
                        id: ''
                        openFromAdminToolbar: true
            impersonate:
                priv: _PRIV_IMPERSONATE_USER
                parent: logged_out
                label: Login as...
                admin_box:
                    path: zenario__impersonate
                    key:
                        openFromAdminToolbar: true
            log_in:
                parent: logged_out
                label: Go to extranet login page
