location_column

NAML documentation   Watch a video
   Usages of this macro
... in user_nodes.naml
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<macro name="location_column" parameters="title,width">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <td class="header" style="[n.width_style
Macro
Parameters: width
.width/]">
                <n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]Location[/t]"><n.title/></n.default.>
            </td>
        </head>
        <body>
            <td class="weak-color">
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.current_node
Binary
Namespace: NodeList
Parameters: do
.is_app
Binary
Namespace: NodeNamespace
>
                    <then><n.current_node
Binary
Namespace: NodeList
Parameters: do
.app_or_root
Macro
Requires: node
Parameters: do
.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
/></then>
                </n.if.not.current_node.is_app>
            </td>
        </body>
    </n.table_column>
</macro>