path

NAML documentation   Watch a video
   Usages of this macro
... in workgroup.naml
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<override_macro name="path" parameters="template,priority,assignee,index_record,date" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_app
Binary
Namespace: NodeNamespace
>
        <then>
            <n.app_path
Macro
Requires: node
Parameters: template, date, assignee, index_record, priority
                template="[n.template/]"
                priority="[n.priority/]"
                assignee="[n.assignee/]"
                index_record="[n.index_record/]"
                date="[n.date/]"
            />
        </then>
        <else>
            <n.post_path
Binary
Namespace: NodeNamespace
 />
        </else>
    </n.if.is_app>
</override_macro>
Overrides default macro
... in app.naml
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<macro name="path" parameters="template,index_record,date" requires="node">
    <n.if.is_app>
        <then>
            <n.app_path
                template="[n.template/]"
                index_record="[n.index_record/]"
                date="[n.date/]"
            />
        </then>
        <else>
            <n.post_path />
        </else>
    </n.if.is_app>
</macro>