user_registration_column

NAML documentation   Watch a video
   Usages of this macro
... in user_registration_column.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<macro name="user_registration_column"requires="user_list">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <td class="nowrap" style="text-align:center;">
                Fecha de registro
            </td>
        </head>
        <body>
            <td class="weak-color" style="text-align:center">
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.current_user
Binary
Namespace: UserList
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
>
                    <then>
                        <n.current_user
Binary
Namespace: UserList
Parameters: do
.registration_date
Binary
Namespace: UserNamespace
Parameters: do
.date_only
Macro
Requires: date
/>                            
                    </then>
                    <else>
                        No disponible
                    </else>
                 </n.if.current_user.is_registered>
            </td>
        </body>
    </n.table_column>
</macro>