view_name

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
394
395
396
397
398
399
400
401
402
403
<macro name="view_name" requires="node">
    <n.trim
Binary
Namespace: BasicNamespace
Parameters: text
.switch
Binary
Namespace: BasicNamespace
Parameters: do, value
. value="[n.app_or_root
Macro
Requires: node
Parameters: do
.type
Binary
Namespace: NodeNamespace
Parameters: equals
/]">
        <n.case
Binary
Namespace: SwitchNamespace
Parameters: do, value
. value="category"><t
Macro
>Category</t></n.case.>
        <n.case
Binary
Namespace: SwitchNamespace
Parameters: do, value
. value="board"><t>Board</t></n.case.>
        <n.case
Binary
Namespace: SwitchNamespace
Parameters: do, value
. value="gallery"><t>Gallery</t></n.case.>
        <n.case
Binary
Namespace: SwitchNamespace
Parameters: do, value
. value="blog"><t>Blog</t></n.case.>
        <n.case
Binary
Namespace: SwitchNamespace
Parameters: do, value
. value="news"><t>News</t></n.case.>
        <n.default_case
Binary
Namespace: SwitchNamespace
Parameters: do
.><t>Forum</t></n.default_case.>
    </n.trim.switch.>
</macro>