harvey_header

NAML documentation   Watch a video
   Usages of this macro
... in harvey_header.naml
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<macro name="harvey_header">  
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="header">
        <n.app_header
Macro
Parameters: header, subapp
 subapp="NYSB Mountain Business Directory" header="Region"/>
        <n.app_header
Macro
Parameters: header, subapp
 subapp="Northern Adirondacks Business" header="Business Type"/>
        <n.app_header
Macro
Parameters: header, subapp
 subapp="Southern Adirondacks Business" header="Business Type"/>     
        <n.app_header
Macro
Parameters: header, subapp
 subapp="Catskills Business" header="Business Type"/>     
        
    </n.set_var.>  
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_empty
Binary
Namespace: BasicNamespace
Parameters: value
.remove_spaces
Macro
Parameters: text
.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="header">
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_subapps
Binary
Namespace: NodeNamespace
>
                <then><t
Macro
>Sub-Forums & Topics</t></then>
                    <else><t>Topics</t></else>
                    </n.if.page_node.has_subapps>  
        </then>  
        <else><n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="header" /></else>  
    </n.if.is_empty.remove_spaces.var>  
</macro>