SFIbis | NAML - people_tabbed_pane

people_tabbed_pane

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "people_tabbed_pane".
... in people_tabbed_pane.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<override_macro name="people_tabbed_pane">  
    <div style="margin:.5em 0">  
        <n.horizontal_tab_control.>  
            <n.add_horizontal_tab  
            url="[n.page_node.people_path/]"  
            text="[t]Users & Groups[/t]"  
            selected="[n.is_people_default/]"  
            details="[n.visible_users_table.people_columns/]"  
            />  
            <n.add_horizontal_tab  
            url="[n.page_node.people_path filter='online-users'/]"  
            text="[t]Online Users[/t]"  
            selected="[n.is_online_users/]"  
            details="[n.online_users_table.people_columns/]"  
            />  
            <n.add_horizontal_tab  
            url="[n.page_node.people_path filter='list'/]"  
            text="[t]Search[/t]"  
            selected="[n.is_people_filter value='list'/]"  
            details="[n.page_node.people_search_list.people_columns/]"  
            />  
        </n.horizontal_tab_control.>  
    </div>  
</override_macro>
Overrides default macro
... in people.naml
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<macro name="people_tabbed_pane">
    <div style="margin:.5em 0">
        <n.horizontal_tab_control.>
            <n.add_horizontal_tab
                url="[n.page_node.people_path/]"
                text="[t]Users & Groups[/t]"
                selected="[n.not.is_online_users/]"
                details="[n.visible_users_table.people_columns/]"
            />
            <n.add_horizontal_tab
                url="[n.page_node.people_path filter='online-users'/]"
                text="[t]Online Users[/t]"
                selected="[n.is_online_users/]"
                details="[n.online_users_table.people_columns/]"
            />
        </n.horizontal_tab_control.>
    </div>
</macro>