check_that_is_app

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
154
155
156
157
158
<macro name="check_that_is_app">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_app
Binary
Namespace: NodeNamespace
>
        <then.redirect_to
Binary
Namespace: ServletNamespace
Parameters: url
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, assignee, index_record, priority
/>
    </n.if.not.page_node.is_app>
</macro>