people_widget

NAML documentation   Watch a video
   Usages of this macro
... in widget.naml
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<macro name="people_widget">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <style type="text/css">
            a.people-small-link {
                float:right;
                font-size:80%;
                padding:.1em .3em;
            }
        </style>
    </n.put_in_head.>
    <n.site_users
Binary
Namespace: NabbleNamespace
Parameters: filter, length, start, do
. length="50">
        <n.filter_by
Macro
Requires: list
Parameters: filter
.current_user
Binary
Namespace: UserList
Parameters: do
.can_be_displayed_in
Macro
Requires: user
Parameters: node_attr
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
/>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_more_elements
Binary
Namespace: ListSequence
Parameters: n
 n="2">
            <then>
                <n.widget
Macro
Parameters: contents, title
.>
                    <h2 class="sidebar-section shaded-bg-color">
                        <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.people_link
Macro
Requires: node
Parameters: text, title, class
 text="[t]All Users[/t]" class="people-small-link"/>
                        <t>People</t>
                    </h2>
                    <div id="recent-posters">
                        <n.sub_list
Binary
Namespace: UserList
Parameters: length, start, do
. start="0" length="12">
                            <n.people_widget_table
Macro
Requires: user_list
/>
                        </n.sub_list.>
                    </div>
                </n.widget.>
            </then>
        </n.if.has_more_elements>
    </n.site_users.>
</macro>