people_widget_table

NAML documentation   Watch a video
   Usages of this macro
... in widget.naml
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<macro name="people_widget_table" requires="user_list">
    <table style="width:100%">
        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
            <tr>
                <td><n.current_user
Binary
Namespace: UserList
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 size="small"/></td>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_user
Binary
Namespace: UserList
>
                    <then><td><n.current_user
Binary
Namespace: UserList
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 size="small"/></td></then>
                </n.if.next_user>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_user
Binary
Namespace: UserList
>
                    <then><td><n.current_user
Binary
Namespace: UserList
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 size="small"/></td></then>
                </n.if.next_user>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_user
Binary
Namespace: UserList
>
                    <then><td><n.current_user
Binary
Namespace: UserList
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 size="small"/></td></then>
                </n.if.next_user>
            </tr>
        </n.loop.>
    </table>
</macro>