online_users_table

NAML documentation   Watch a video
   Usages of this macro
... in people.naml
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<macro name="online_users_table" dot_parameter="columns" requires="node_page">
    <n.online_users
Binary
Namespace: NabbleNamespace
Parameters: include_invisible_users, do
. include_invisible_users="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_site_admin
Macro
Requires: user
/]">
        <n.filter_by
Macro
Requires: list
Parameters: filter
.current_user
Binary
Namespace: UserList
Parameters: do
.can_view
Macro
Requires: user
Parameters: node_attr
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
/>
        <n.sort_by_node_count_desc
Binary
Namespace: UserList
/>
        <n.people_table
Macro
Requires: user_list
Parameters: columns
.>
            <n.columns/>
        </n.people_table.>
    </n.online_users.>
    
    <div class="weak-color" style="margin-top:1em">
        <n.one_or_many
Macro
Parameters: many_text, one_text, n
.online_anonymous_users_count
Binary
Namespace: NabbleNamespace
>
            <one_text><t>anonymous user</t></one_text>
            <many_text><t>anonymous users</t></many_text>
        </n.one_or_many.online_anonymous_users_count>
        <br/>
        <n.one_or_many
Macro
Parameters: many_text, one_text, n
.online_invisible_users_count
Binary
Namespace: NabbleNamespace
>
            <one_text><t>invisible user</t></one_text>
            <many_text><t>invisible users</t></many_text>
        </n.one_or_many.online_invisible_users_count>
    </div>
</macro>