user_column

NAML documentation   Watch a video
   Usages of this macro
... in people.naml
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<macro name="user_column" parameters="title,width" requires="user_list">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <td style="[n.width_style
Macro
Parameters: width
.width/]">
                <n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]Name[/t]"><n.title/></n.default.>
            </td>
        </head>
        <body>
            <td class="weak-color">
                <table class="avatar-table">
                    <tr>
                        <td style="padding:0;vertical-align:top">
                            <n.current_user
Binary
Namespace: UserList
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 size="small"/>
                        </td>
                        <td class="nowrap" style="width:100%;padding:0 .3em">
                            <n.current_user
Binary
Namespace: UserList
Parameters: do
.user_link
Macro
Requires: user
Parameters: title, class
/>
                        </td>
                    </tr>
                </table>
            </td>
        </body>
    </n.table_column>
</macro>